fix: bold subheader link

chore: remove unneeded properties
This commit is contained in:
Nikola Ubavic 2022-02-08 11:58:08 +01:00
parent e1751c8576
commit e57848047a
2 changed files with 5 additions and 10 deletions

View file

@ -48,9 +48,7 @@ const Subheader = ({ item, classes, user }) => {
setPrev(it.route) setPrev(it.route)
return true return true
}}> }}>
<span className={classes.forceSize} forcesize={it.label}> {it.label}
{it.label}
</span>
</NavLink> </NavLink>
</li> </li>
) )

View file

@ -11,7 +11,7 @@ import {
fontColor fontColor
} from 'src/styling/variables' } from 'src/styling/variables'
const { tl2, p } = typographyStyles const { p } = typographyStyles
let headerHeight = spacer * 7 let headerHeight = spacer * 7
let subheaderHeight = spacer * 5 let subheaderHeight = spacer * 5
@ -115,13 +115,10 @@ const styles = {
}, },
subheaderUl: { subheaderUl: {
display: 'flex', display: 'flex',
paddingLeft: 0 paddingLeft: 0,
margin: 0
}, },
subheaderLi: { subheaderLi: {
extend: tl2,
display: 'flex',
alignItems: 'center',
height: spacer * 3,
listStyle: 'none', listStyle: 'none',
padding: [[0, spacer * 2.5]], padding: [[0, spacer * 2.5]],
'&:first-child': { '&:first-child': {
@ -135,7 +132,7 @@ const styles = {
color: placeholderColor color: placeholderColor
}, },
activeSubheaderLink: { activeSubheaderLink: {
extend: tl2, textShadow: '0.2px 0 0 currentColor',
color: fontColor color: fontColor
}, },
white: { white: {