mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fixes #9439: use overflow: auto on navbar collapse
This commit is contained in:
parent
fa330f308a
commit
5b4fe08f42
3 changed files with 5 additions and 5 deletions
4
dist/css/bootstrap.css
vendored
4
dist/css/bootstrap.css
vendored
|
@ -3154,10 +3154,10 @@ button.close {
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-collapse {
|
.navbar-collapse {
|
||||||
max-height: 360px;
|
max-height: 340px;
|
||||||
padding: 5px 15px;
|
padding: 5px 15px;
|
||||||
overflow-x: visible;
|
overflow-x: visible;
|
||||||
overflow-y: scroll;
|
overflow-y: auto;
|
||||||
border-top: 1px solid #e6e6e6;
|
border-top: 1px solid #e6e6e6;
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -59,9 +59,9 @@
|
||||||
|
|
||||||
// This is not automatically added to the `.navbar-fixed-top` because it causes
|
// This is not automatically added to the `.navbar-fixed-top` because it causes
|
||||||
// z-index bugs in iOS7 (possibly earlier).
|
// z-index bugs in iOS7 (possibly earlier).
|
||||||
max-height: 360px;
|
max-height: 340px;
|
||||||
overflow-x: visible;
|
overflow-x: visible;
|
||||||
overflow-y: scroll;
|
overflow-y: auto;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
|
||||||
@media (min-width: @grid-float-breakpoint) {
|
@media (min-width: @grid-float-breakpoint) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue