mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-01 11:24:42 +00:00
applied conditional overflow scrolling to page div
This commit is contained in:
parent
dae560d67f
commit
c8e676d591
1 changed files with 11 additions and 0 deletions
|
|
@ -22,6 +22,17 @@
|
|||
.landscape,
|
||||
.landscape .ui-page { min-height: 300px; }
|
||||
|
||||
/* native overflow scrolling */
|
||||
.ui-mobile.ui-mobile-overflow-scrolling .ui-page {
|
||||
overflow: auto;
|
||||
height: 100%;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
-moz-overflow-scrolling: touch;
|
||||
-o-overflow-scrolling: touch;
|
||||
-ms-overflow-scrolling: touch;
|
||||
overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
/* loading screen */
|
||||
.ui-loading .ui-mobile-viewport { overflow: hidden !important; }
|
||||
.ui-loading .ui-loader { display: block; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue