2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Fix #9174: pad bottom of navbar collapsed content and clear floated contents

This commit is contained in:
Mark Otto
2013-08-06 16:39:18 -07:00
parent 6da346527b
commit 223e032150
3 changed files with 33 additions and 3 deletions
+7 -2
View File
@@ -82,14 +82,18 @@
}
.navbar-fixed-top {
top: 0;
.nav-collapse {
}
}
.navbar-fixed-bottom {
bottom: 0;
margin-bottom: 0; // override .navbar defaults
}
.nav-collapse {
// Space out collapsed contents within the mobile navbar
padding-bottom: @navbar-padding-vertical;
// Clear floated elements and prevent collapsing of padding
.clearfix();
}
// Scrollable navbar navigation
//
@@ -353,6 +357,7 @@
.nav-collapse.collapse {
display: block !important;
height: auto !important;
padding-bottom: 0; // Override default setting
overflow: visible !important;
}