1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-28 03:08:30 +00:00

Fix "AccountRow" border offsetting its content

This commit is contained in:
Vasek Mlejnsky 2018-08-21 08:09:37 +02:00
parent 55fc01454d
commit d69c26961b

View File

@ -37,6 +37,7 @@ const RowAccountWrapper = styled.div`
padding: ${LEFT_NAVIGATION_ROW.PADDING}; padding: ${LEFT_NAVIGATION_ROW.PADDING};
font-size: ${FONT_SIZE.SMALL}; font-size: ${FONT_SIZE.SMALL};
color: ${colors.TEXT_PRIMARY}; color: ${colors.TEXT_PRIMARY};
border-left: ${BORDER_WIDTH.SELECTED} solid transparent;
${props => props.borderTop && css` ${props => props.borderTop && css`
border-top: 1px solid ${colors.DIVIDER}; border-top: 1px solid ${colors.DIVIDER};
`} `}