2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +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
+4 -1
View File
@@ -134,7 +134,7 @@ a:hover {
float: left;
margin-left: 20px;
}
.container {
.container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
width: 940px;
}
.span1 {
@@ -2698,6 +2698,9 @@ button.btn.btn-small, input[type="submit"].btn.btn-small {
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.navbar .container {
width: auto;
}
.btn-navbar {
display: none;
float: right;