From: Mary Evans Date: Thu, 26 Sep 2013 23:43:44 +0000 (+0200) Subject: MDL-35217 afterburner: applying orientations X-Git-Tag: v2.6.0-beta~231 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=a7611a7ccc2f5c5277432512a498700946b6799d;hp=322d9c8cdafccbd5143ff6ac0abc3664d2e3815f MDL-35217 afterburner: applying orientations --- diff --git a/theme/afterburner/style/afterburner_responsive.css b/theme/afterburner/style/afterburner_responsive.css index c01da88d5e8..d6119e05d45 100644 --- a/theme/afterburner/style/afterburner_responsive.css +++ b/theme/afterburner/style/afterburner_responsive.css @@ -1,4 +1,4 @@ -@media screen and (max-width: 767px) { +@media screen and (orientation:portrait) and (max-width: 767px) { /* Custom Menu -------------------------- */ @@ -50,7 +50,7 @@ } } -@media screen and (min-width: 768px) and (max-width: 799px) { +@media screen and (orientation:portrait) and (min-width: 768px) and (max-width: 799px) { /* Page Layout -------------------------*/ body.has_dock { @@ -91,7 +91,7 @@ right: 10px; } } -@media screen and (max-width: 767px) { +@media only screen and (orientation:portrait) and (max-width:767px) { /* Page Layout -------------------------*/ body.has_dock #dock {