1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

fixes #5163: add new var for navbar collapse's default view, use that in responsive navbar css

This commit is contained in:
Mark Otto 2012-09-17 08:52:19 -07:00
parent 6e25aacc91
commit 1ea09b751e
2 changed files with 2 additions and 1 deletions

View file

@ -166,7 +166,7 @@
// DEFAULT DESKTOP
// ---------------
@media (min-width: 980px) {
@media (min-width: @navbarCollapseDesktopWidth) {
// Required to make the collapsing navbar work on regular desktops
.nav-collapse.collapse {

View file

@ -157,6 +157,7 @@
// Navbar
// -------------------------
@navbarCollapseWidth: 979px;
@navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
@navbarHeight: 40px;
@navbarBackgroundHighlight: #ffffff;