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:
5
.changeset/large-days-judge.md
Normal file
5
.changeset/large-days-judge.md
Normal 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
|
@@ -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,
|
||||||
|
Reference in New Issue
Block a user