Commit 39f8c818 authored by Mark Otto's avatar Mark Otto
Browse files

Merge pull request #15018 from twbs/fix-theme-active-items

Theme: Correctly override active dropdown items in collapsed navbars
parents 8fbb2bbb 0d851e8b
Showing with 12 additions and 0 deletions
+12 -0
......@@ -151,6 +151,18 @@
border-radius: 0;
}
// Fix active state of dropdown items in collapsed mode
@media (max-width: @grid-float-breakpoint-max) {
.navbar .navbar-nav .open .dropdown-menu > .active > a {
&,
&:hover,
&:focus {
color: #fff;
#gradient > .vertical(@start-color: @dropdown-link-active-bg; @end-color: darken(@dropdown-link-active-bg, 5%));
}
}
}
//
// Alerts
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment