aboutsummaryrefslogtreecommitdiff
path: root/viewer/src
diff options
context:
space:
mode:
authorpacien2020-09-26 18:55:09 +0200
committerZero~Informatique2020-10-10 17:45:35 +0200
commit5edf60b9f5cc8daff3226f0eaf6f3a64d2662425 (patch)
tree8782e832ae7785522f132f03c23377800346994c /viewer/src
parente93f7b1eb84c083d67567115284c0002a3a7d5fc (diff)
downloadldgallery-5edf60b9f5cc8daff3226f0eaf6f3a64d2662425.tar.gz
viewer: fix momentum/kinetic scroll on Safari and Firefox on iOS
GitHub: closes #253 (cherry picked from commit 3e22ce02fb569d1db06e7a8f564c5aa328dfb92e)
Diffstat (limited to 'viewer/src')
-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 {