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 4ce2d28 commit 412fa368f4218e00952fa9783b417ef3f65d3a5e @jaspermdegroot jaspermdegroot committed Mar 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 css/structure/jquery.mobile.core.css
View
4 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 412fa36

Please sign in to comment.