diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-10-17 18:43:03 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-31 20:45:42 +0300 |
commit | 734faae6e6dc0b64ead4f8e6d14db1d61b27e267 (patch) | |
tree | 63f6bc79fa7d9b6c8a71c7f1f5b2a7a310f869dc /app | |
parent | 2888e48b27eee4937d61c212be668f5339c4236e (diff) |
Stop sections from expanding when scrolling over the 1px section
See https://gitlab.slack.com/archives/C0GQHHPGW/p1508253662000271
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/stylesheets/pages/settings.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/settings.scss b/app/assets/stylesheets/pages/settings.scss index 91ad7f2151b..968a94c68cf 100644 --- a/app/assets/stylesheets/pages/settings.scss +++ b/app/assets/stylesheets/pages/settings.scss @@ -55,11 +55,15 @@ overflow-y: scroll; padding-right: 110px; animation: collapseMaxHeight 300ms ease-out; + // Keep the section from expanding when we scroll over it + pointer-events: none; .settings.expanded & { max-height: none; overflow-y: visible; animation: expandMaxHeight 300ms ease-in; + // Reset and allow clicks again when expanded + pointer-events: auto; } .settings.no-animate & { |