Fixed padding of view area in smaller screen

This commit is contained in:
Wu Cheng-Han 2015-09-25 18:52:06 +08:00
parent 2b57b1849f
commit 2493c8f986

View file

@ -63,6 +63,12 @@ body {
/*overflow-y: scroll;*/ /*overflow-y: scroll;*/
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
} }
@media (min-width: 768px) {
.ui-view-area {
padding-left: 15px;
padding-right: 15px;
}
}
.ui-scrollable { .ui-scrollable {
height: 100%; height: 100%;
overflow-x: hidden; overflow-x: hidden;