]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix navbar container for default 940px grid per #2194
authorMark Otto <markotto@twitter.com>
Tue, 28 Feb 2012 06:34:25 +0000 (22:34 -0800)
committerMark Otto <markotto@twitter.com>
Tue, 28 Feb 2012 06:34:25 +0000 (22:34 -0800)
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/mixins.less
less/navbar.less

index 19961c92c710006d6282b22d318b38306214b3b6..10b3a62554441f941bbb7bb0954019b18785b641 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 5e3175306f6a50f9b2e7a0ec5fd5fcddec9e3fe0..2881d6a84d309551b4700f09fc909f183bfe632f 100644 (file)
@@ -2740,6 +2740,9 @@ button.btn.btn-small, input[type="submit"].btn.btn-small {
   -moz-border-radius: 0;
   border-radius: 0;
 }
+.navbar-fixed-top .container, .navbar-fixed-bottom .container {
+  width: 940px;
+}
 .navbar-fixed-top {
   top: 0;
 }
index 6b85be96fbb3506a7747f144c3bb7878f5fa68ef..fccd7e349968760f50e8a8721fa1ecd5d3dec5f5 100644 (file)
       margin-left: @gridGutterWidth;
     }
 
-    // Set the container width, and reset it for fixed navbars
+    // Set the container width, and override it for fixed navbars in media queries
     .container,
     .navbar-fixed-top .container,
     .navbar-fixed-bottom .container { .span(12); }
index 1bc6b185b95cfaf7cc91c869ec662ed11036b162..6ecb74328b80980943b296cf000c4f95df1962c9 100644 (file)
   .border-radius(0);
 }
 
+.navbar-fixed-top .container,
+.navbar-fixed-bottom .container {
+  #grid > .core > .span(@gridColumns);
+}
+
 // Fixed to top
 .navbar-fixed-top {
   top: 0;