]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #8374: ensure navbar is always at least 50px
authorMark Otto <otto@github.com>
Thu, 18 Jul 2013 08:25:08 +0000 (01:25 -0700)
committerMark Otto <otto@github.com>
Thu, 18 Jul 2013 08:25:08 +0000 (01:25 -0700)
docs/assets/css/bootstrap.css
less/navbar.less

index 3c74388b6955aa77c4fd7e425d6df07eda7c1e39..4372f2694f4c5c7edece146f639beba52f4dae69 100644 (file)
@@ -2759,6 +2759,7 @@ button.close {
 
 .navbar {
   position: relative;
+  min-height: 50px;
   padding-right: 15px;
   padding-left: 15px;
   margin-bottom: 20px;
index 1818490577a2dd9e1d559da015eb8fd021e47846..fba38899227476a3cb1fe8fb6a707ba01d70bac8 100644 (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;