Merge pull request #1095 from ubavic/fix-subheader-links
fix: bold subheader link
This commit is contained in:
commit
ffcfd5955e
2 changed files with 5 additions and 10 deletions
|
|
@ -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>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue