From: Mark Otto Date: Wed, 20 May 2020 12:56:42 +0000 (-0700) Subject: v5: Make navbar active links consistent (#30831) X-Git-Tag: v5.0.0-alpha1~83 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9cd3e4a083a69bcd2eefb1d1b62e6106e2ce469;p=thirdparty%2Fbootstrap.git v5: Make navbar active links consistent (#30831) * Update navbar docs to put .active class on .nav-link Fixes #30652 in v5. * Remove two selectors from navbar nav that are either unused, or duplicative Co-authored-by: XhmikosR --- diff --git a/scss/_navbar.scss b/scss/_navbar.scss index 35d7c7b72e..01d827ff70 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -216,8 +216,6 @@ } .show > .nav-link, - .active > .nav-link, - .nav-link.show, .nav-link.active { color: $navbar-light-active-color; } @@ -269,8 +267,6 @@ } .show > .nav-link, - .active > .nav-link, - .nav-link.show, .nav-link.active { color: $navbar-dark-active-color; } diff --git a/site/content/docs/5.0/components/navbar.md b/site/content/docs/5.0/components/navbar.md index e47833e8bf..bf11527e07 100644 --- a/site/content/docs/5.0/components/navbar.md +++ b/site/content/docs/5.0/components/navbar.md @@ -45,8 +45,8 @@ Here's an example of all the sub-components included in a responsive light-theme