mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-09 15:16:51 +02:00
add @navbar-collapse-max-height Less variable
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
// content for the user's viewport.
|
// content for the user's viewport.
|
||||||
|
|
||||||
.navbar-collapse {
|
.navbar-collapse {
|
||||||
max-height: 340px;
|
max-height: @navbar-collapse-max-height;
|
||||||
overflow-x: visible;
|
overflow-x: visible;
|
||||||
padding-right: @navbar-padding-horizontal;
|
padding-right: @navbar-padding-horizontal;
|
||||||
padding-left: @navbar-padding-horizontal;
|
padding-left: @navbar-padding-horizontal;
|
||||||
|
@@ -311,6 +311,7 @@
|
|||||||
@navbar-border-radius: @border-radius-base;
|
@navbar-border-radius: @border-radius-base;
|
||||||
@navbar-padding-horizontal: floor((@grid-gutter-width / 2));
|
@navbar-padding-horizontal: floor((@grid-gutter-width / 2));
|
||||||
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
|
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
|
||||||
|
@navbar-collapse-max-height: 340px;
|
||||||
|
|
||||||
@navbar-default-color: #777;
|
@navbar-default-color: #777;
|
||||||
@navbar-default-bg: #f8f8f8;
|
@navbar-default-bg: #f8f8f8;
|
||||||
|
Reference in New Issue
Block a user