0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

limit active styles for nav-pills to immediate children

This commit is contained in:
Mark Otto 2017-06-17 21:41:47 -07:00 committed by Mark Otto
parent bcc1f84d56
commit 5476e636ce

View File

@ -76,7 +76,7 @@
@include border-radius($nav-pills-border-radius);
&.active,
.show & {
.show > & {
color: $nav-pills-link-active-color;
background-color: $nav-pills-link-active-bg;
}