We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c538e60 commit 270214eCopy full SHA for 270214e
src/webview/SearchSidebar/SearchWidgetContainer/LangSelect.tsx
@@ -42,6 +42,11 @@ const styles = stylex.create({
42
marginTop: 1,
43
marginLeft: 1,
44
},
45
+ // <option> color is required for windows
46
+ langOptions: {
47
+ color: 'var(--vscode-dropdown-foreground)',
48
+ backgroundColor: 'var(--vscode-dropdown-background)',
49
+ },
50
})
51
52
function capitalize(word: string) {
@@ -70,7 +75,9 @@ export function LangSelect() {
70
75
value={lang}
71
76
onChange={onChange}
72
77
>
73
- <option value="">Auto Detect</option>
78
+ <option value="" {...stylex.props(styles.langOptions)}>
79
+ Auto Detect
80
+ </option>
74
81
{icons.map(icon => (
82
<option key={icon} value={icon}>
83
{capitalize(icon)}
0 commit comments