mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Fixes #12738 again: use max-device-width instead of max-width for .navbar-collapse height in landscape devices
This commit is contained in:
Vendored
+1
-1
@@ -3841,7 +3841,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
|
|||||||
.navbar-fixed-bottom .navbar-collapse {
|
.navbar-fixed-bottom .navbar-collapse {
|
||||||
max-height: 340px;
|
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-top .navbar-collapse,
|
||||||
.navbar-fixed-bottom .navbar-collapse {
|
.navbar-fixed-bottom .navbar-collapse {
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -3841,7 +3841,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
|
|||||||
.navbar-fixed-bottom .navbar-collapse {
|
.navbar-fixed-bottom .navbar-collapse {
|
||||||
max-height: 340px;
|
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-top .navbar-collapse,
|
||||||
.navbar-fixed-bottom .navbar-collapse {
|
.navbar-fixed-bottom .navbar-collapse {
|
||||||
max-height: 200px;
|
max-height: 200px;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -92,7 +92,7 @@
|
|||||||
.navbar-collapse {
|
.navbar-collapse {
|
||||||
max-height: @navbar-collapse-max-height;
|
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;
|
max-height: 200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user