Fix sass map navbar-toggleable

Follow up to 6e8ce0c7dc. Uses the breakpoint-next mixin to snag the next breakpoint in the media query for proper styling.
This commit is contained in:
Mark Otto 2016-10-17 21:05:07 -07:00
parent 6e8ce0c7dc
commit b35e77deaf
1 changed files with 2 additions and 1 deletions

View File

@ -133,9 +133,10 @@
// scss-lint:disable ImportantRule
.navbar-toggleable {
@each $breakpoint in map-keys($grid-breakpoints) {
$next: breakpoint-next($breakpoint, $grid-breakpoints);
&-#{$breakpoint} {
@include clearfix;
@include media-breakpoint-up($breakpoint) {
@include media-breakpoint-up($next) {
display: block !important;
.navbar-brand {