Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit c346a01

Browse files
committed
fix options page white bg in menu options on dark theme
1 parent e7a9c17 commit c346a01

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

client/browser/src/browser-extension/options-menu/OptionsPage.tsx

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react'
22

33
import {
4-
mdiEarth,
4+
mdiBlockHelper,
55
mdiBookOpenPageVariant,
66
mdiCheckCircleOutline,
7+
mdiClose,
8+
mdiEarth,
79
mdiLock,
8-
mdiBlockHelper,
910
mdiOpenInNew,
10-
mdiClose,
1111
} from '@mdi/js'
1212
import classNames from 'classnames'
1313
import type { Observable } from 'rxjs'
@@ -17,18 +17,18 @@ import { Toggle } from '@sourcegraph/branded/src/components/Toggle'
1717
import { createURLWithUTM } from '@sourcegraph/shared/src/tracking/utm'
1818
import { type InputValidationState, useInputValidation } from '@sourcegraph/shared/src/util/useInputValidation'
1919
import {
20+
Button,
2021
Combobox,
2122
ComboboxInput,
23+
ComboboxList,
2224
ComboboxOption,
2325
ComboboxPopover,
24-
ComboboxList,
25-
Button,
26-
Link,
26+
H4,
2727
Icon,
28+
InputStatus,
2829
Label,
29-
H4,
30+
Link,
3031
Text,
31-
InputStatus,
3232
} from '@sourcegraph/wildcard'
3333

3434
import type { CurrentUserResult } from '../../graphql-operations'
@@ -39,8 +39,6 @@ import { OptionsPageAdvancedSettings } from './OptionsPageAdvancedSettings'
3939

4040
import styles from './OptionsPage.module.scss'
4141

42-
import '@reach/combobox/styles.css'
43-
4442
export interface OptionsPageProps {
4543
version: string
4644

@@ -350,7 +348,6 @@ export const SourcegraphURLForm: React.FunctionComponent<React.PropsWithChildren
350348

351349
/**
352350
* BEGIN: Workaround for reach/combobox undesirably expanded
353-
*
354351
* @see https://github.com/reach/reach-ui/issues/755
355352
*/
356353
const [hasInteracted, setHasInteracted] = useState(false)

0 commit comments

Comments
 (0)