Fixes weird background color (#7678)
This commit is contained in:
1 parent
1625f462c2
commit
a22e4eed32
1 file changed
-10
@@ -84,16 +84,6 @@ export const Select = <
|
|||||||
{...reactSelectProps}
|
{...reactSelectProps}
|
||||||
{...props}
|
{...props}
|
||||||
styles={{
|
styles={{
|
||||||
option: (defaultStyles, state) => ({
|
|
||||||
...defaultStyles,
|
|
||||||
backgroundColor: state.isSelected
|
|
||||||
? state.isFocused
|
|
||||||
? "var(--brand-color)"
|
|
||||||
: "var(--brand-color)"
|
|
||||||
: state.isFocused
|
|
||||||
? "var(--brand-color-dark-mode)"
|
|
||||||
: "var(--brand-text-color)",
|
|
||||||
}),
|
|
||||||
...styles,
|
...styles,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in new issue
Block a user