fix nav item lines
This commit is contained in:
parent
9cc5f55790
commit
2da0508cfc
|
@ -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}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue