Commit 5e6c737b authored by Giannis Kopanas's avatar Giannis Kopanas

fix(actions): active on css prop

parent 917cee8e
......@@ -61,5 +61,5 @@ const active = css`
export default css`
${underlineAnimation};
${props => props.active === 'true' && active};
${props => props.active && active};
`
......@@ -21,7 +21,7 @@ const common = css`
color: ${th('colorPrimary')};
font: ${th('fontInterface')};
font-size: ${th('fontSizeBase')};
font-weight: ${props => (props.active === 'true' ? 'bold' : 'normal')};
font-weight: ${props => (props.active ? 'bold' : 'normal')};
text-decoration: none;
text-transform: none;
transition: ${th('transitionDuration')} ${th('transitionTimingFunction')};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment