aboutsummaryrefslogtreecommitdiff
path: root/viewer
diff options
context:
space:
mode:
authorpacien2020-09-26 18:55:09 +0200
committerpacien2020-09-26 18:55:09 +0200
commit3e22ce02fb569d1db06e7a8f564c5aa328dfb92e (patch)
tree2c7d3d9bc2c1da70211c9366234eb3b899ccb3bd /viewer
parent5572ed73763a561ef08ebb99a97e3795be54ba2c (diff)
downloadldgallery-3e22ce02fb569d1db06e7a8f564c5aa328dfb92e.tar.gz
viewer: fix momentum/kinetic scroll on Safari and Firefox on iOS
GitHub: closes #253
Diffstat (limited to 'viewer')
-rw-r--r--viewer/src/assets/scss/scrollbar.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/viewer/src/assets/scss/scrollbar.scss b/viewer/src/assets/scss/scrollbar.scss
index a00b4c2..4ca0a2c 100644
--- a/viewer/src/assets/scss/scrollbar.scss
+++ b/viewer/src/assets/scss/scrollbar.scss
@@ -23,6 +23,10 @@
23 23
24.scrollbar { 24.scrollbar {
25 overflow: auto; 25 overflow: auto;
26
27 // enable momentum/kinetic scroll on Safari and Firefox on iOS
28 -webkit-overflow-scrolling: touch;
29
26 scrollbar-color: $scrollbar-color transparent; 30 scrollbar-color: $scrollbar-color transparent;
27 scrollbar-width: thin; 31 scrollbar-width: thin;
28 &::-webkit-scrollbar { 32 &::-webkit-scrollbar {