react-numeric-input icon indicating copy to clipboard operation
react-numeric-input copied to clipboard

input styling overrides input:not(.form-control) styling

Open depaolif opened this issue 7 years ago • 0 comments

Previously, users not using the "form-control" class on their input would have their "input" style prop being overridden by the "input:not(.form-control)" default styling. For instance, border and border-radius could not be changed using only the "input" style prop. The only way to style an input if not using bootstrap was to use "input:not(.form-control)" style prop. The label for "input:not(.form-control)" style was also incorrectly stated as "The input with bootstrap class".

This PR fixes this by only implementing "input:not(.form-control)" default styling if no "input" style prop is provided, making it much more intuitive to use. The typo for "input:not(.form-control)" is also corrected to "The input without bootstrap class".

depaolif avatar Oct 05 '18 19:10 depaolif