Skip to content

Commit

Permalink
chore: add field-sizing to select and textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
kaf-lamed-beyt committed Dec 21, 2024
1 parent 077a3a8 commit d1cc08d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/extra/normalize.src.css
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,15 @@
:where(select) {
padding-inline: var(--size-relative-4) 0;
padding-block: .75ch;
field-sizing: content;
}

:where(textarea, select, input:not([type="button"],[type="submit"],[type="reset"])) {
background-color: var(--surface-2);
border-radius: var(--radius-2);
}

:where(textarea) { resize: block }
:where(textarea) { resize: block; field-sizing: content }

:where(input[type="checkbox"], input[type="radio"]) {
block-size: var(--size-3);
Expand Down

0 comments on commit d1cc08d

Please sign in to comment.