]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Added .navbar-toggleable-md class 17448/head
authorLuke Bonaccorsi <luke@lukeb.co.uk>
Wed, 2 Sep 2015 21:08:52 +0000 (22:08 +0100)
committerLuke Bonaccorsi <luke@lukeb.co.uk>
Wed, 2 Sep 2015 21:08:52 +0000 (22:08 +0100)
In Bootstrap 3, the menu collapsed on the -sm- breakpoint, I believe the equivalent of this breakpoint in Bootstrap 4 is actually the -md- breakpoint. The navbar currently has no option to collapse at the -md- breakpoint and I'd like to add this.

scss/_navbar.scss

index 7fbd4448efb6198feb7e50a2c1327ff4dc4cb3e9..d812212a0c2aa72ac5a8e98d668fc98e5043ba9c 100644 (file)
       display: block !important;
     }
   }
+  &-md {
+    @include media-breakpoint-up(lg) {
+      display: block !important;
+    }
+  }
 }