Skip to content

Commit fa87d2b

Browse files
authored
refactor: style optgroup directly (#4564)
1 parent 66fdf67 commit fa87d2b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/components/src/components/select/select.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
color: colors.$db-adaptive-on-bg-basic-emphasis-100-default;
3737
}
3838

39+
optgroup {
40+
background-color: colors.$db-adaptive-bg-basic-level-3-default;
41+
}
42+
3943
&:has(> select option:checked:not([hidden])) {
4044
[id$="-placeholder"] {
4145
display: none;

0 commit comments

Comments
 (0)