Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

brought these orientation-based rules back for certain scenarios wher…

…e they're helpful, such as when js is setting heights in iOS5. No bug fix, just a tweak.
  • Loading branch information...
commit ead0baf2abf76cd37fa25e55fccfceb724caf49c 1 parent 1c5fd4c
scottjehl authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 themes/default/
8 themes/default/
@@ -19,6 +19,14 @@
/* on ios4, setting focus on the page element causes flashing during transitions when there is an outline, so we turn off outlines */
.ui-page { outline: none; }
+/*orientations from js are available */
+@media screen and (orientation: portrait){
+.ui-mobile, .ui-mobile .ui-page { min-height: 420px; }
+@media screen and (orientation: landscape){
+.ui-mobile, .ui-mobile .ui-page { min-height: 300px; }
/* native overflow scrolling */
.ui-mobile-touch-overflow.ui-native-fixed .ui-content {

0 comments on commit ead0baf

Please sign in to comment.
Something went wrong with that request. Please try again.