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}
className={navStyles.navItem + activeClasses(link) + " " + device}
activeClassName={navStyles.navItemActive}
activeStyle={{ textDecoration: `solid underline white 0.2em` }}
to={`/${link}`}
>
{title}

View File

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