Skip to content

Commit 5d5428a

Browse files
author
phweb
committed
Merge branch 'master' of https://github.com/phwebpro/umed
2 parents 2615108 + d7ce43b commit 5d5428a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

www/css/style.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
width: 100%;
6767
height: 100%;
6868
overflow: hidden;
69-
-webkit-overflow-scrolling: touch;
69+
/*-webkit-overflow-scrolling: touch;*/
7070
position: relative;
7171
z-index: 5000;
7272

@@ -95,8 +95,10 @@
9595
left: 0;
9696
-webkit-backface-visibility: hidden;
9797
backface-visibility: hidden;
98+
9899
-webkit-transform: translate3d(0, 0, 0);
99100
transform: translate3d(0, 0, 0);
101+
100102
-webkit-transform-style: preserve-3d;
101103
transform-style: preserve-3d;
102104
}
@@ -111,8 +113,11 @@
111113
height: 100%;
112114
overflow: auto;
113115
position: relative;
114-
z-index: 1;
115-
-webkit-overflow-scrolling: touch;
116+
z-index: 2;
117+
}
118+
.page-current .page-content { -webkit-overflow-scrolling: touch; }
119+
.page-content > * {
120+
-webkit-transform: translateZ(0px);
116121
}
117122
.header-through .page-content { padding-top: 44px; }
118123
.footer-through .page-content { padding-bottom: 60px; }

0 commit comments

Comments
 (0)