summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/settings.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/pages/settings.scss')
-rw-r--r--app/assets/stylesheets/pages/settings.scss4
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 & {