Commit c3193877 authored by Eric Eastwood's avatar Eric Eastwood

Stop sections from expanding when scrolling over the 1px section

See https://gitlab.slack.com/archives/C0GQHHPGW/p1508253662000271
parent 58301827
......@@ -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 & {
......
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