Skip to content

Commit 28f43b6

Browse files
authored
💄 Fix select element style (#17884)
1 parent 7fffcd2 commit 28f43b6

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

app/src/assets/scss/component/_select.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
.body--win32 &, .body--win32-browser & {
2828
@supports (appearance: base-select) {
2929
appearance: base-select;
30+
flex-shrink: 0;
31+
white-space: nowrap;
32+
field-sizing: content;
33+
34+
&:disabled {
35+
opacity: .68;
36+
}
3037

3138
&::picker(select) {
3239
appearance: base-select;
@@ -61,6 +68,11 @@
6168
&:hover {
6269
background-color: var(--b3-list-hover);
6370
}
71+
72+
&:focus-visible {
73+
background-color: var(--b3-list-hover);
74+
outline: none;
75+
}
6476
}
6577
}
6678
}

0 commit comments

Comments
 (0)