1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-11 15:45:15 +02:00

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
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; cursor: pointer;
} }
input:not([type='checkbox']):not([type='radio']), input,
select { select {
display: block; display: block;
} }
[type='checkbox'],
[type='radio'] {
display: initial;
}
input, input,
button, button,
textarea, textarea,