This repository was archived by the owner on Oct 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Expand file tree Collapse file tree 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 {
5050 border : 0 ;
5151}
5252
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- }
6153/* On ios4, setting focus on the page element causes flashing during transitions when there is an outline, so we turn off outlines */
54+
6255.ui-page {
6356 outline : none;
6457}
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+
6572.ui-mobile .ui-page-active {
6673 visibility : visible;
6774 overflow : visible;
6875 overflow-x : hidden;
6976}
77+
7078@media screen and (orientation : portrait) {
7179 .ui-mobile .ui-page {
7280 min-height : 420px ;
You can’t perform that action at this time.
0 commit comments