mirror of https://github.com/twbs/bootstrap.git
limit active styles for nav-pills to immediate children
This commit is contained in:
parent
bcc1f84d56
commit
5476e636ce
|
@ -76,7 +76,7 @@
|
||||||
@include border-radius($nav-pills-border-radius);
|
@include border-radius($nav-pills-border-radius);
|
||||||
|
|
||||||
&.active,
|
&.active,
|
||||||
.show & {
|
.show > & {
|
||||||
color: $nav-pills-link-active-color;
|
color: $nav-pills-link-active-color;
|
||||||
background-color: $nav-pills-link-active-bg;
|
background-color: $nav-pills-link-active-bg;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue