That wouldn't work *with* dark section; just move active bar closer

Effectively reverts 4a82806
This commit is contained in:
benjamin melançon 2019-01-01 10:47:54 -05:00
parent 4a82806e0c
commit 0e9641c14a

View file

@ -213,7 +213,7 @@ a.navbar-link.is-active {
position: absolute;
left: 1em;
right: 1em;
bottom: -3px;
bottom: 6px;
border-top: 3px solid currentColor;
}
&:hover,
@ -227,18 +227,6 @@ a.navbar-link.is-active {
}
}
// Keep underline visible when dark navbar not followed by dark section.
.dark-header {
a.navbar-item.is-active,
a.navbar-link.is-active {
@include tablet {
&::before {
border-top-color: $dark;
}
}
}
}
.navbar-item.has-dropdown:hover .navbar-link,
.navbar-item.has-dropdown:focus .navbar-link,
.navbar-item.has-dropdown.is-active .navbar-link {