1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Fixes #8374: ensure navbar is always at least 50px

This commit is contained in:
Mark Otto 2013-07-18 01:25:08 -07:00
parent 181b276774
commit e72b524d41
2 changed files with 2 additions and 0 deletions

View file

@ -2759,6 +2759,7 @@ button.close {
.navbar {
position: relative;
min-height: 50px;
padding-right: 15px;
padding-left: 15px;
margin-bottom: 20px;

View file

@ -5,6 +5,7 @@
// Wrapper and base class
.navbar {
position: relative;
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
margin-bottom: 20px;
padding-left: @navbar-padding-horizontal;
padding-right: @navbar-padding-horizontal;