From e72b524d416a5b3352274e0d748ffd77ceecf100 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 18 Jul 2013 01:25:08 -0700 Subject: [PATCH] Fixes #8374: ensure navbar is always at least 50px --- docs/assets/css/bootstrap.css | 1 + less/navbar.less | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 3c74388b69..4372f2694f 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2759,6 +2759,7 @@ button.close { .navbar { position: relative; + min-height: 50px; padding-right: 15px; padding-left: 15px; margin-bottom: 20px; diff --git a/less/navbar.less b/less/navbar.less index 1818490577..fba3889922 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -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;