From 4a82806e0ce8bd0b5dad51e05ace31eff9d30b9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 1 Jan 2019 10:43:07 -0500 Subject: [PATCH] Keep underline visible when dark navbar not followed by dark section --- agaric/sass/agaric/_component.navbar.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/agaric/sass/agaric/_component.navbar.scss b/agaric/sass/agaric/_component.navbar.scss index cbb9207..ac5237c 100644 --- a/agaric/sass/agaric/_component.navbar.scss +++ b/agaric/sass/agaric/_component.navbar.scss @@ -227,6 +227,18 @@ 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 {