Web: fixing overriding style

This commit is contained in:
DASenkiv 2019-06-25 09:34:58 +03:00
parent a86b92994c
commit 910f9602b5

View File

@ -85,14 +85,14 @@ const StyledLink = styled.a.attrs((props) => ({
${visitedCss};
}
&:not(<href>){
&:not([href]):not([tabindex]) {
${colorCss};
text-decoration: none;
:hover {
&:hover {
${hoveredCss};
}
}
}
${props => (props.isHovered &&
css`
@ -163,7 +163,7 @@ Link.defaultProps = {
color: 'black',
dropdownRightIndent: '-10px',
fontSize: '12px',
href: 'javascript:void(0)',
href: undefined,
isBold: false,
isHovered: false,
isTextOverflow: true,