mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-23 13:43:11 +02:00
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 <xhmikosr@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user