1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-26 10:52:17 -05:00

hide mail list scrollbar in webkit and fix padding issues between iOS and desktop

This commit is contained in:
Mario Volke 2014-09-19 16:55:28 +02:00
parent d31c8a69e6
commit 4ea983dcfb

View File

@ -83,12 +83,17 @@
.list-wrapper { .list-wrapper {
flex-grow: 1; flex-grow: 1;
padding: 0 ($padding-horizontal - $scrollbar-width) 0 $padding-horizontal; padding: 0 $padding-horizontal;
overflow-y: scroll; overflow-y: scroll;
// allow scrolling on iOS // allow scrolling on iOS
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
// put layer on GPU // put layer on GPU
transform: translatez(0); transform: translatez(0);
// hide scrollbar in webkit
&::-webkit-scrollbar {
display: none;
}
} }
footer { footer {