1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

fixes #9634: turn off overflow-y when the navbar is re-expanded into horizontal mode

This commit is contained in:
Mark Otto 2013-08-15 13:29:45 -07:00
parent 98368c0cca
commit 0664b3f0da
4 changed files with 9 additions and 2 deletions

View file

@ -3208,6 +3208,9 @@ button.close {
padding-bottom: 0;
overflow: visible !important;
}
.navbar-collapse.in {
overflow-y: visible;
}
}
@media (min-width: 768px) {

File diff suppressed because one or more lines are too long

View file

@ -388,7 +388,7 @@ $('#myModal').on('hidden.bs.modal', function () {
</ul>
</li>
</ul>
<ul class="nav navbar-nav pull-right">
<ul class="nav navbar-nav navbar-right">
<li id="fat-menu" class="dropdown">
<a href="#" id="drop3" role="button" class="dropdown-toggle" data-toggle="dropdown">Dropdown 3 <b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="drop3">

View file

@ -78,6 +78,10 @@
padding-bottom: 0; // Override default setting
overflow: visible !important;
}
&.in {
overflow-y: visible;
}
}
}