From 223e0321504050d4642c3db2673be0cc7f4df569 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 6 Aug 2013 16:39:18 -0700 Subject: Fix #9174: pad bottom of navbar collapsed content and clear floated contents --- dist/css/bootstrap.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'dist/css/bootstrap.css') diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index bc7894a7a..34d92672b 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -2869,6 +2869,30 @@ button.close { margin-bottom: 0; } +.nav-collapse { + padding-bottom: 15px; +} + +.nav-collapse:before, +.nav-collapse:after { + display: table; + content: " "; +} + +.nav-collapse:after { + clear: both; +} + +.nav-collapse:before, +.nav-collapse:after { + display: table; + content: " "; +} + +.nav-collapse:after { + clear: both; +} + @media (max-width: 768px) { .nav-collapse-scrollable { max-height: 360px; @@ -3103,6 +3127,7 @@ button.close { .nav-collapse.collapse { display: block !important; height: auto !important; + padding-bottom: 0; overflow: visible !important; } } -- cgit v1.2.3