Skip to content
Snippets Groups Projects
Verified Commit 734faae6 authored by Eric Eastwood's avatar Eric Eastwood Committed by Mike Greiling
Browse files

Stop sections from expanding when scrolling over the 1px section

parent 2888e48b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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 & {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment