Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

depaolif
Copy link

@depaolif depaolif commented Oct 5, 2018

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".

…rol and no "input" prop provided; corrects label of input:not(.form-control) to describe input without form-control class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant