diff options
| author | Tulir Asokan <tulir@maunium.net> | 2020-09-05 18:37:50 +0300 |
|---|---|---|
| committer | Tulir Asokan <tulir@maunium.net> | 2020-09-05 18:37:50 +0300 |
| commit | de072dcd81de37e460e1c47906f377226fec436b (patch) | |
| tree | 52c74f946cc12ce0b4c829e30110e5511fc2c6ed /web/index.css | |
| parent | 6e6aad0430686189f155193e74db5bedad1bcca0 (diff) | |
Add hack to make scrolling work on iOS (ref #8)
Diffstat (limited to 'web/index.css')
| -rw-r--r-- | web/index.css | 8 |
1 files changed, 8 insertions, 0 deletions
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 { |
