2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

set width to auto for default navbar container, then override it later for fixed navbars (done all via the #gridSystem mixins)

This commit is contained in:
Mark Otto
2012-02-21 23:15:43 -08:00
parent 9b524a16e9
commit a139167489
7 changed files with 21 additions and 7 deletions
+7 -2
View File
@@ -173,8 +173,13 @@
#gridSystem > .gridColumn(@gridGutterWidth);
}
// Fixed container
.container { #gridSystem > .columns(@gridGutterWidth, @gridColumnWidth, @gridRowWidth, @gridColumns); }
// Fixed containers
// Default container and reset for fixed navbars
.container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container {
#gridSystem > .columns(@gridGutterWidth, @gridColumnWidth, @gridRowWidth, @gridColumns);
}
// Default columns
.span1 { #gridSystem > .columns(@gridGutterWidth, @gridColumnWidth, @gridRowWidth, 1); }