mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01: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
@ -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…
x
Reference in New Issue
Block a user