mirror of
https://github.com/picocss/pico.git
synced 2025-04-27 11:36:14 -04:00
Clean role=switch
This commit is contained in:
parent
91e427caec
commit
e1c419855e
13 changed files with 9 additions and 20 deletions
|
@ -1356,12 +1356,9 @@ label > input, label > select, label > textarea {
|
|||
background-image: none;
|
||||
}
|
||||
[type=checkbox][role=switch]:checked::before {
|
||||
margin-right: 0;
|
||||
margin-left: calc(1.125em - var(--border-width));
|
||||
-webkit-margin-start: calc(1.125em - var(--border-width));
|
||||
margin-inline-start: calc(1.125em - var(--border-width));
|
||||
-webkit-margin-end: 0;
|
||||
margin-inline-end: 0;
|
||||
}
|
||||
|
||||
[type=checkbox][aria-invalid=false],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue