From 0e9641c14af6158a265f638e552cec973a92b238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 1 Jan 2019 10:47:54 -0500 Subject: [PATCH] That wouldn't work *with* dark section; just move active bar closer Effectively reverts 4a82806 --- agaric/sass/agaric/_component.navbar.scss | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/agaric/sass/agaric/_component.navbar.scss b/agaric/sass/agaric/_component.navbar.scss index ac5237c..f553144 100644 --- a/agaric/sass/agaric/_component.navbar.scss +++ b/agaric/sass/agaric/_component.navbar.scss @@ -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 {