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:
parent
181b276774
commit
e72b524d41
2 changed files with 2 additions and 0 deletions
1
docs/assets/css/bootstrap.css
vendored
1
docs/assets/css/bootstrap.css
vendored
|
@ -2759,6 +2759,7 @@ button.close {
|
|||
|
||||
.navbar {
|
||||
position: relative;
|
||||
min-height: 50px;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
margin-bottom: 20px;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue