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

proper text-decoration instead of border-bottom on links

This commit is contained in:
slowbackspace 2019-01-24 18:45:34 +01:00
parent 889ba4d087
commit e29bfb3e78

View File

@ -12,10 +12,12 @@ const A = styled.a`
font-size: ${FONT_SIZE.SMALL};
${props => props.isGreen && css`
border-bottom: 1px solid ${colors.GREEN_PRIMARY};
text-decoration: underline;
text-decoration-color: ${colors.GREEN_PRIMARY};
`}
${props => props.isGray && css`
border-bottom: 1px solid ${colors.TEXT_SECONDARY};
text-decoration: underline;
text-decoration-color: ${colors.TEXT_SECONDARY};
`}
&,