mirror of
https://github.com/kognise/water.css.git
synced 2025-12-06 06:44:58 +01:00
Merge pull request #222 from jsmailes/issue178-color
Add styling for color input, compatible with 2.0
This commit is contained in:
commit
e5306ff96e
2 changed files with 11 additions and 0 deletions
5
.changeset/fluffy-dingos-beam.md
Normal file
5
.changeset/fluffy-dingos-beam.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"water.css": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add style for color input field
|
||||||
|
|
@ -29,6 +29,12 @@ select {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type='color'] {
|
||||||
|
min-height: 2rem;
|
||||||
|
padding: 8px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
input[type='checkbox'],
|
input[type='checkbox'],
|
||||||
input[type='radio'] {
|
input[type='radio'] {
|
||||||
height: 1em;
|
height: 1em;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue