This commit is contained in:
Cory LaViska
2024-12-20 10:33:10 -05:00
parent 6ef2e92923
commit 3861041bc1

View File

@@ -17,7 +17,12 @@ input {
}
[part~='icon'] {
display: inline-flex;
display: flex;
/* Without this, Safari renders the icon slightly to the left */
&::part(svg) {
translate: 0.0009765625em;
}
input:not(:checked, :indeterminate) + & {
visibility: hidden;