BigW Consortium Gitlab

Unverified Commit 734faae6 by Eric Eastwood Committed by Mike Greiling

Stop sections from expanding when scrolling over the 1px section

parent 2888e48b
...@@ -55,11 +55,15 @@ ...@@ -55,11 +55,15 @@
overflow-y: scroll; overflow-y: scroll;
padding-right: 110px; padding-right: 110px;
animation: collapseMaxHeight 300ms ease-out; animation: collapseMaxHeight 300ms ease-out;
// Keep the section from expanding when we scroll over it
pointer-events: none;
.settings.expanded & { .settings.expanded & {
max-height: none; max-height: none;
overflow-y: visible; overflow-y: visible;
animation: expandMaxHeight 300ms ease-in; animation: expandMaxHeight 300ms ease-in;
// Reset and allow clicks again when expanded
pointer-events: auto;
} }
.settings.no-animate & { .settings.no-animate & {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment