From de072dcd81de37e460e1c47906f377226fec436b Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sat, 5 Sep 2020 18:37:50 +0300 Subject: Add hack to make scrolling work on iOS (ref #8) --- web/index.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'web/index.css') diff --git a/web/index.css b/web/index.css index df7d367..e3c8583 100644 --- a/web/index.css +++ b/web/index.css @@ -46,6 +46,14 @@ div.pack-list, nav { div.pack-list { overflow-y: auto; } +div.pack-list.ios-safari-hack { + position: fixed; + top: calc(12vw + 2px); + bottom: 0; + left: 0; + right: 0; + -webkit-overflow-scrolling: touch; } + section.stickerpack { margin-top: .75rem; } section.stickerpack > div.sticker-list { -- cgit v1.2.3