From 7f397eaf8aa4e4ccf808df3ed88cb3a5c251eaea Mon Sep 17 00:00:00 2001 From: Serhii Babakov Date: Mon, 20 Feb 2023 16:08:55 +0400 Subject: [PATCH] Fix navbar-nav link styling --- scss/_navbar.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scss/_navbar.scss b/scss/_navbar.scss index a360d2a059f1..76ac085c107e 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -100,9 +100,11 @@ margin-bottom: 0; list-style: none; - .show > .nav-link, - .nav-link.active { - color: var(--#{$prefix}navbar-active-color); + .nav-link { + &.active, + &.show { + color: var(--#{$prefix}navbar-active-color); + } } .dropdown-menu {