Commit e72b524d authored by Mark Otto's avatar Mark Otto

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

parent 181b2767
...@@ -2759,6 +2759,7 @@ button.close { ...@@ -2759,6 +2759,7 @@ button.close {
.navbar { .navbar {
position: relative; position: relative;
min-height: 50px;
padding-right: 15px; padding-right: 15px;
padding-left: 15px; padding-left: 15px;
margin-bottom: 20px; margin-bottom: 20px;
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
// Wrapper and base class // Wrapper and base class
.navbar { .navbar {
position: relative; position: relative;
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
margin-bottom: 20px; margin-bottom: 20px;
padding-left: @navbar-padding-horizontal; padding-left: @navbar-padding-horizontal;
padding-right: @navbar-padding-horizontal; padding-right: @navbar-padding-horizontal;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment