Skip to content

Commit

Permalink
Form element sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Kloos committed Jan 10, 2024
1 parent bbc0265 commit b7edbff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/system-selectors.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@
font: inherit;
font-size: var(--system-font-size-m);
font-family: var(--system-font-family-interactive);
&:not([type='checkbox'], [type='radio']) {
min-block-size: max(40px, 2.5rem);
}
&:is([type='checkbox'], [type='radio']) {
scale: 125%;
}
}

button {
Expand Down

0 comments on commit b7edbff

Please sign in to comment.