Skip to content

Commit 732a110

Browse files
author
scottjehl
committed
make sure page backgrounds and general page height fills the height of the browser, particularly with dialogs. Fixes jquery-archive#1033
1 parent d66cd43 commit 732a110

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

themes/default/jquery.mobile.core.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77

88
/* some unsets - more probably needed */
9+
.ui-mobile, .ui-mobile body { height: 100%; }
910
.ui-mobile fieldset, .ui-page { padding: 0; margin: 0; }
1011
.ui-mobile a img, .ui-mobile fieldset { border: 0; }
1112

@@ -18,9 +19,9 @@
1819

1920
/*orientations from js are available */
2021
.portrait,
21-
.portrait .ui-page { min-height: 480px; }
22+
.portrait .ui-page { min-height: 100%; }
2223
.landscape,
23-
.landscape .ui-page { min-height: 320px; }
24+
.landscape .ui-page { min-height: 100%; }
2425

2526
/* loading screen */
2627
.ui-loading .ui-mobile-viewport { overflow: hidden !important; }

0 commit comments

Comments
 (0)