mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 09:18:09 +00:00
Fix issue when a selected option wasn't properly indicated (CSS) when using arrow keys
This commit is contained in:
parent
3881aaf6cf
commit
0d34cb2b82
@ -52,10 +52,10 @@ const styles = isSearchable => ({
|
||||
borderRight: `1px solid ${colors.DIVIDER}`,
|
||||
borderBottom: `1px solid ${colors.DIVIDER}`,
|
||||
}),
|
||||
option: (base, { isSelected }) => ({
|
||||
option: (base, { isFocused }) => ({
|
||||
...base,
|
||||
color: colors.TEXT_SECONDARY,
|
||||
background: isSelected ? colors.LANDING : colors.WHITE,
|
||||
background: isFocused ? colors.LANDING : colors.WHITE,
|
||||
borderRadius: 0,
|
||||
'&:hover': {
|
||||
cursor: 'pointer',
|
||||
|
Loading…
Reference in New Issue
Block a user