mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-06 05:37:39 +02:00
limit active styles for nav-pills to immediate children
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user