Skip to content

Commit df0a9f2

Browse files
lukewarlownt1m
authored andcommitted
[css-forms-1] Add field-sizing to base select styles
Base select is always sized based on its content size rather than using the legacy fixed styling, so we set field-sizing to content !important.
1 parent c1a8451 commit df0a9f2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

css-forms-1/Overview.bs

+5
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,11 @@ input[type=radio]:checked::checkmark {
699699
## Selects & buttons
700700

701701
```css
702+
select {
703+
/* Base appearance select always sizes based on its contents. */
704+
field-sizing: content !important;
705+
}
706+
702707
button,
703708
::file-selector-button,
704709
select,

0 commit comments

Comments
 (0)