mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fix navbar container for default 940px grid per #2194
This commit is contained in:
parent
6c9547f411
commit
fbebb046f7
4 changed files with 9 additions and 1 deletions
Binary file not shown.
3
docs/assets/css/bootstrap.css
vendored
3
docs/assets/css/bootstrap.css
vendored
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -502,7 +502,7 @@
|
|||
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); }
|
||||
|
|
|
@ -179,6 +179,11 @@
|
|||
.border-radius(0);
|
||||
}
|
||||
|
||||
.navbar-fixed-top .container,
|
||||
.navbar-fixed-bottom .container {
|
||||
#grid > .core > .span(@gridColumns);
|
||||
}
|
||||
|
||||
// Fixed to top
|
||||
.navbar-fixed-top {
|
||||
top: 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue