mirror of
				https://gitlab.nic.cz/turris/reforis/foris-js.git
				synced 2025-11-03 23:00:31 +01:00 
			
		
		
		
	Move css to the library.
This commit is contained in:
		
							
								
								
									
										10
									
								
								src/bootstrap/NumberInput.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/bootstrap/NumberInput.css
									
									
									
									
									
										Normal 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;
 | 
			
		||||
}
 | 
			
		||||
@@ -9,6 +9,7 @@ import React from "react";
 | 
			
		||||
 | 
			
		||||
import PropTypes from "prop-types";
 | 
			
		||||
import { Input } from "./Input";
 | 
			
		||||
import "./NumberInput.css";
 | 
			
		||||
 | 
			
		||||
NumberInput.propTypes = {
 | 
			
		||||
    /** Field label. */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user