1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-24 09:18:09 +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, padding: 0,
boxShadow: 'none', boxShadow: 'none',
background: colors.WHITE, background: colors.WHITE,
borderLeft: `1px solid ${colors.DIVIDER}`,
borderRight: `1px solid ${colors.DIVIDER}`,
borderBottom: `1px solid ${colors.DIVIDER}`,
}), }),
option: (base, { isSelected }) => ({ option: (base, { isSelected }) => ({
...base, ...base,
color: colors.TEXT_SECONDARY, color: colors.TEXT_SECONDARY,
background: isSelected ? colors.LANDING : colors.WHITE, background: isSelected ? colors.LANDING : colors.WHITE,
borderRadius: 0, borderRadius: 0,
borderLeft: `1px solid ${colors.DIVIDER}`,
borderRight: `1px solid ${colors.DIVIDER}`,
'&:last-child': {
borderBottom: `1px solid ${colors.DIVIDER}`,
},
'&:hover': { '&:hover': {
cursor: 'pointer', cursor: 'pointer',
background: colors.LANDING, background: colors.LANDING,