Skip to content

Commit

Permalink
Merge pull request twbs#12326 from twbs/navbar-var
Browse files Browse the repository at this point in the history
add @navbar-collapse-max-height Less variable
  • Loading branch information
mdo committed Jan 22, 2014
2 parents 109ba82 + 67271a1 commit 06dcf91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion less/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
// content for the user's viewport.

.navbar-collapse {
max-height: 340px;
max-height: @navbar-collapse-max-height;
overflow-x: visible;
padding-right: @navbar-padding-horizontal;
padding-left: @navbar-padding-horizontal;
Expand Down
1 change: 1 addition & 0 deletions less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@
@navbar-border-radius: @border-radius-base;
@navbar-padding-horizontal: floor((@grid-gutter-width / 2));
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
@navbar-collapse-max-height: 340px;

@navbar-default-color: #777;
@navbar-default-bg: #f8f8f8;
Expand Down

0 comments on commit 06dcf91

Please sign in to comment.