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:
parent
6e25aacc91
commit
1ea09b751e
2 changed files with 2 additions and 1 deletions
|
@ -166,7 +166,7 @@
|
||||||
// DEFAULT DESKTOP
|
// DEFAULT DESKTOP
|
||||||
// ---------------
|
// ---------------
|
||||||
|
|
||||||
@media (min-width: 980px) {
|
@media (min-width: @navbarCollapseDesktopWidth) {
|
||||||
|
|
||||||
// Required to make the collapsing navbar work on regular desktops
|
// Required to make the collapsing navbar work on regular desktops
|
||||||
.nav-collapse.collapse {
|
.nav-collapse.collapse {
|
||||||
|
|
|
@ -157,6 +157,7 @@
|
||||||
// Navbar
|
// Navbar
|
||||||
// -------------------------
|
// -------------------------
|
||||||
@navbarCollapseWidth: 979px;
|
@navbarCollapseWidth: 979px;
|
||||||
|
@navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
|
||||||
|
|
||||||
@navbarHeight: 40px;
|
@navbarHeight: 40px;
|
||||||
@navbarBackgroundHighlight: #ffffff;
|
@navbarBackgroundHighlight: #ffffff;
|
||||||
|
|
Loading…
Reference in a new issue