From: Mark Otto Date: Wed, 22 Feb 2012 07:15:43 +0000 (-0800) Subject: set width to auto for default navbar container, then override it later for fixed... X-Git-Tag: v2.0.2~109 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a139167489e249345933b1e58cc7c53542abab97;p=thirdparty%2Fbootstrap.git set width to auto for default navbar container, then override it later for fixed navbars (done all via the #gridSystem mixins) --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index baee1afdd9..26375f6cf7 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index a5ebd1144f..08beeb11f4 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -174,7 +174,7 @@ float: left; margin-left: 20px; } - .container { + .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container { width: 724px; } .span1 { @@ -607,7 +607,7 @@ float: left; margin-left: 30px; } - .container { + .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container { width: 1170px; } .span1 { diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 45ae99964d..7a91fa5bd5 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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; diff --git a/docs/components.html b/docs/components.html index ee0e17b0fa..8b1a67553e 100644 --- a/docs/components.html +++ b/docs/components.html @@ -873,7 +873,7 @@

An example of a static (not fixed to the top) navbar with project name, navigation, and search form.