Commit 3537481c authored by Mark Otto's avatar Mark Otto
Browse files

Fixes #12738 again: use max-device-width instead of max-width for...

Fixes #12738 again: use max-device-width instead of max-width for .navbar-collapse height in landscape devices
parent 4f8697cb
Showing with 6 additions and 6 deletions
+6 -6
...@@ -3841,7 +3841,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { ...@@ -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;
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
...@@ -3841,7 +3841,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn { ...@@ -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;
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -92,7 +92,7 @@ ...@@ -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;
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment