Skip to content

Commit 10ff3db

Browse files
author
scottjehl
committed
clarified distinction on overflow between pages with fixed toolbars and pages without, and removed native-fixed class (old)
1 parent d954a19 commit 10ff3db

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

css/structure/jquery.mobile.core.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ div.ui-mobile-viewport { overflow-x: hidden; }
2626

2727
/* native overflow scrolling */
2828
.ui-page.ui-mobile-touch-overflow,
29-
.ui-mobile-touch-overflow.ui-native-fixed .ui-content {
29+
.ui-page.ui-mobile-touch-overflow.ui-page-header-fixed .ui-content,
30+
.ui-page.ui-mobile-touch-overflow.ui-page-footer-fixed .ui-content {
3031
overflow: auto;
3132
height: 100%;
3233
left: 0;
@@ -37,6 +38,9 @@ div.ui-mobile-viewport { overflow-x: hidden; }
3738
-ms-overflow-scrolling: touch;
3839
overflow-scrolling: touch;
3940
}
41+
.ui-page.ui-mobile-touch-overflow.ui-page-header-fixed {
42+
overflow: visible;
43+
}
4044
.ui-page.ui-mobile-touch-overflow,
4145
.ui-page.ui-mobile-touch-overflow * {
4246
/* some level of transform keeps elements from blinking out of visibility on iOS */
@@ -45,9 +49,6 @@ div.ui-mobile-viewport { overflow-x: hidden; }
4549
.ui-page.ui-mobile-pre-transition {
4650
display: block;
4751
}
48-
.ui-header-fixed .ui-btn {
49-
z-index: 10;
50-
}
5152

5253
/* loading screen */
5354
.ui-loading .ui-mobile-viewport { overflow: hidden !important; }
@@ -70,6 +71,9 @@ div.ui-mobile-viewport { overflow-x: hidden; }
7071
.ui-header .ui-btn-right { position: absolute; right: 10px; top: .4em; }
7172
.ui-header .ui-title, .ui-footer .ui-title { min-height: 1.1em; text-align: center; font-size: 16px; display: block; margin: .6em 90px .8em; padding: 0; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; outline: 0 !important; }
7273
.ui-footer .ui-title { margin: .6em 15px .8em; }
74+
.ui-header-fixed .ui-btn {
75+
z-index: 10;
76+
}
7377

7478
/*content area*/
7579
.ui-content { border-width: 0; overflow: visible; overflow-x: hidden; padding: 15px; }

0 commit comments

Comments
 (0)