Merge pull request #1095 from ubavic/fix-subheader-links

fix: bold subheader link
This commit is contained in:
Rafael Taranto 2022-02-14 10:32:08 +00:00 committed by GitHub
commit ffcfd5955e
2 changed files with 5 additions and 10 deletions

View file

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

View file

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