Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Core: Only set a default min-height for the page. Fixes #5755
Browse files Browse the repository at this point in the history
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
jaspermdegroot committed Mar 27, 2013
1 parent 4ce2d28 commit 412fa36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css/structure/jquery.mobile.core.css
Expand Up @@ -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 */
Expand Down

0 comments on commit 412fa36

Please sign in to comment.