1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 09:05:47 +02: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

View File

@@ -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;
}
}

File diff suppressed because one or more lines are too long