0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01: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;