File tree 1 file changed +16
-8
lines changed 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -50,23 +50,31 @@ div.ui-mobile-viewport {
50
50
border : 0 ;
51
51
}
52
52
53
- /* Need to make sure things with visibility:visible inside a pag stay hidden */
54
- .ui-page : not (.ui-page-active ) * {
55
- visibility : hidden !important ;
56
- }
57
- .ui-page : not (.ui-page-active ) {
58
- overflow : hidden;
59
- max-height : 100% ;
60
- }
61
53
/* On ios4, setting focus on the page element causes flashing during transitions when there is an outline, so we turn off outlines */
54
+
62
55
.ui-page {
63
56
outline : none;
64
57
}
58
+
59
+ .ui-page : not (.ui-page-active ),
60
+ [data-role = page ]: not (.ui-page-active ) {
61
+ bottom : 0 ;
62
+ max-height : 100% ;
63
+ overflow : hidden;
64
+ }
65
+
66
+ /* Use !important to override "visibility: visible" for any element inside a non-active page */
67
+
68
+ .ui-page : not (.ui-page-active ) * {
69
+ visibility : hidden !important ;
70
+ }
71
+
65
72
.ui-mobile .ui-page-active {
66
73
visibility : visible;
67
74
overflow : visible;
68
75
overflow-x : hidden;
69
76
}
77
+
70
78
@media screen and (orientation : portrait) {
71
79
.ui-mobile .ui-page {
72
80
min-height : 420px ;
You can’t perform that action at this time.
0 commit comments