mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-29 02:30:23 +00:00
Fixes #12738 again: use max-device-width instead of max-width for .navbar-collapse height in landscape devices
This commit is contained in:
parent
4f8697cbbb
commit
3537481c97
8 changed files with 6 additions and 6 deletions
2
dist/css/bootstrap.css
vendored
2
dist/css/bootstrap.css
vendored
|
|
@ -3841,7 +3841,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
|
|||
.navbar-fixed-bottom .navbar-collapse {
|
||||
max-height: 340px;
|
||||
}
|
||||
@media (max-width: 480px) and (orientation: landscape) {
|
||||
@media (max-device-width: 480px) and (orientation: landscape) {
|
||||
.navbar-fixed-top .navbar-collapse,
|
||||
.navbar-fixed-bottom .navbar-collapse {
|
||||
max-height: 200px;
|
||||
|
|
|
|||
BIN
dist/css/bootstrap.css.map
vendored
BIN
dist/css/bootstrap.css.map
vendored
Binary file not shown.
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
2
docs/assets/js/customize.min.js
vendored
2
docs/assets/js/customize.min.js
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.css
vendored
2
docs/dist/css/bootstrap.css
vendored
|
|
@ -3841,7 +3841,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
|
|||
.navbar-fixed-bottom .navbar-collapse {
|
||||
max-height: 340px;
|
||||
}
|
||||
@media (max-width: 480px) and (orientation: landscape) {
|
||||
@media (max-device-width: 480px) and (orientation: landscape) {
|
||||
.navbar-fixed-top .navbar-collapse,
|
||||
.navbar-fixed-bottom .navbar-collapse {
|
||||
max-height: 200px;
|
||||
|
|
|
|||
BIN
docs/dist/css/bootstrap.css.map
vendored
BIN
docs/dist/css/bootstrap.css.map
vendored
Binary file not shown.
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -92,7 +92,7 @@
|
|||
.navbar-collapse {
|
||||
max-height: @navbar-collapse-max-height;
|
||||
|
||||
@media (max-width: @screen-xs-min) and (orientation: landscape) {
|
||||
@media (max-device-width: @screen-xs-min) and (orientation: landscape) {
|
||||
max-height: 200px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue