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

Commit 412fa36

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.
1 parent 4ce2d28 commit 412fa36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css/structure/jquery.mobile.core.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ div.ui-mobile-viewport { overflow-x: hidden; }
1818

1919
/*orientations from js are available */
2020
@media screen and (orientation: portrait){
21-
.ui-mobile, .ui-mobile .ui-page { min-height: 420px; }
21+
.ui-mobile .ui-page { min-height: 420px; }
2222
}
2323
@media screen and (orientation: landscape){
24-
.ui-mobile, .ui-mobile .ui-page { min-height: 300px; }
24+
.ui-mobile .ui-page { min-height: 300px; }
2525
}
2626

2727
/* loading screen */

0 commit comments

Comments
 (0)