]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix sass map navbar-toggleable
authorMark Otto <markdotto@gmail.com>
Tue, 18 Oct 2016 04:05:07 +0000 (21:05 -0700)
committerMark Otto <markdotto@gmail.com>
Tue, 18 Oct 2016 04:05:07 +0000 (21:05 -0700)
Follow up to 6e8ce0c7dc84c9373f6d760b82bea575cd5358b8. Uses the breakpoint-next mixin to snag the next breakpoint in the media query for proper styling.

scss/_navbar.scss

index 2d504cbc49233a560f5296da77676614fd2808e1..2c5ce350ac712b035906d814cae35bdaafd04d7d 100644 (file)
 // 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 {