1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-15 13:36:35 +02:00

Move css to the library.

This commit is contained in:
Bogdan Bodnar
2019-09-26 13:09:37 +02:00
parent 7a14ed1b60
commit e4e28dbce4
6 changed files with 530 additions and 187 deletions

View File

@ -0,0 +1,10 @@
input[type="number"] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
}

View File

@ -9,6 +9,7 @@ import React from "react";
import PropTypes from "prop-types";
import { Input } from "./Input";
import "./NumberInput.css";
NumberInput.propTypes = {
/** Field label. */