Permalink
Browse files

Core: Only set a default min-height for the page. Fixes #5755

resetActivePageHeight() only overrides the page min-height. Setting this for ui-mobile causes issues on small screens and according to the commit message (ead0baf) we don't really need it.
  • Loading branch information...
1 parent 17509b6 commit 8391f7d9cbb2fae0db4b0d8db6738e41b11b931e @jaspermdegroot jaspermdegroot committed Mar 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 css/structure/jquery.mobile.core.css
@@ -18,10 +18,10 @@ div.ui-mobile-viewport { overflow-x: hidden; }
/*orientations from js are available */
@media screen and (orientation: portrait){
-.ui-mobile, .ui-mobile .ui-page { min-height: 420px; }
+.ui-mobile .ui-page { min-height: 420px; }
}
@media screen and (orientation: landscape){
-.ui-mobile, .ui-mobile .ui-page { min-height: 300px; }
+.ui-mobile .ui-page { min-height: 300px; }
}
/* loading screen */

0 comments on commit 8391f7d

Please sign in to comment.