fix nav item lines

This commit is contained in:
neri 2020-02-18 21:37:42 +01:00
parent 9cc5f55790
commit 2da0508cfc
2 changed files with 4 additions and 3 deletions

View File

@ -38,7 +38,6 @@ export default ({ path }) => {
key={title} key={title}
className={navStyles.navItem + activeClasses(link) + " " + device} className={navStyles.navItem + activeClasses(link) + " " + device}
activeClassName={navStyles.navItemActive} activeClassName={navStyles.navItemActive}
activeStyle={{ textDecoration: `solid underline white 0.2em` }}
to={`/${link}`} to={`/${link}`}
> >
{title} {title}

View File

@ -50,10 +50,12 @@ a.navItem:visited {
text-decoration: none; text-decoration: none;
} }
a.navItem:hover, a.navItem:hover {
a.navItemActive {
text-decoration: solid underline white 0.1em; text-decoration: solid underline white 0.1em;
} }
a.navItem.navItemActive {
text-decoration: solid underline white 0.2em;
}
@media only screen and (max-width: 600px) { @media only screen and (max-width: 600px) {
a.navItem.desktopOnly { a.navItem.desktopOnly {