1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 20:31:26 +02:00

Enable scrollable responsive nav bar

Fixes #9007 in a hopefully decent way
This commit is contained in:
Mark Otto
2013-08-05 14:19:32 -07:00
parent 96136dbb56
commit c15f5a89a0
5 changed files with 78 additions and 2 deletions

View File

@@ -2870,6 +2870,16 @@ button.close {
margin-bottom: 0;
}
@media (max-width: 768px) {
.nav-collapse-scrollable {
max-height: 360px;
margin-bottom: 15px;
overflow-x: hidden;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}
}
.navbar-brand {
display: block;
max-width: 200px;

File diff suppressed because one or more lines are too long