Merge pull request #250 from eazulay/master

Reduce input selector specificity for input display property
This commit is contained in:
Kognise 2021-08-11 13:15:10 -04:00 committed by GitHub
commit 2c58edb7fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"water.css": patch
---
Reduce input selector specificity for display property to prevent overriding user's css. Fixes #78 and #82

View file

@ -9,11 +9,16 @@ input[type='radio'] {
cursor: pointer;
}
input:not([type='checkbox']):not([type='radio']),
input,
select {
display: block;
}
[type='checkbox'],
[type='radio'] {
display: initial;
}
input,
button,
textarea,