]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix container within navbar on smallest breakpoint (#21722)
authorPierre Vanduynslager <pierre.denis.vanduynslager@gmail.com>
Sat, 21 Jan 2017 21:06:00 +0000 (16:06 -0500)
committerMark Otto <markd.otto@gmail.com>
Sat, 21 Jan 2017 21:06:00 +0000 (13:06 -0800)
* Make container in navbar to occupy full width even on smallest breakpoint

* Fix typo in comment

* Apply fix only on smaller breakpoint

* drop the comment as chrome doesn't have a bug here

scss/_navbar.scss

index 80beec8f3e1caba8547150591a24747a8db9566c..8dd8729bc979c1dabba56a318b6f0ef2acb81573 100644 (file)
   display: flex;
   flex-direction: column;
   padding: $navbar-padding-y $navbar-padding-x;
+
+  @include media-breakpoint-down(nth(map-keys($grid-breakpoints), 1)) {
+    > .container {
+      margin-right: 0;
+      margin-left: 0;
+    }
+  }
 }