0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +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;
}