1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-25 00:18:07 +00:00

Add borders to select menu not option

This commit is contained in:
Vasek Mlejnsky 2018-08-29 10:11:59 +02:00
parent 2d5965b4ab
commit e44f33c2de

View File

@ -42,17 +42,15 @@ const styles = isSearchable => ({
padding: 0,
boxShadow: 'none',
background: colors.WHITE,
borderLeft: `1px solid ${colors.DIVIDER}`,
borderRight: `1px solid ${colors.DIVIDER}`,
borderBottom: `1px solid ${colors.DIVIDER}`,
}),
option: (base, { isSelected }) => ({
...base,
color: colors.TEXT_SECONDARY,
background: isSelected ? colors.LANDING : colors.WHITE,
borderRadius: 0,
borderLeft: `1px solid ${colors.DIVIDER}`,
borderRight: `1px solid ${colors.DIVIDER}`,
'&:last-child': {
borderBottom: `1px solid ${colors.DIVIDER}`,
},
'&:hover': {
cursor: 'pointer',
background: colors.LANDING,