mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-21 21:45:42 -05:00
fix(explorer): allow touchpad/wheel scrolling over article links
`overflow: hidden` on `.folder-outer > ul` creates a scroll container that traps wheel/touchpad events. When the cursor hovers over article links inside folders, the browser tries to scroll this container first. Since it can't actually scroll (content is clipped for the collapse animation), the events are consumed and never reach the parent `ul.overflow` scroll container. `overflow: clip` provides the same visual clipping needed for the `grid-template-rows: 0fr/1fr` collapse animation without creating a scroll container, allowing wheel events to propagate normally. Symptoms: explorer sidebar scrolls with touchpad when hovering over folder titles, but not when hovering over article names within folders.
This commit is contained in:
parent
ec00a40aef
commit
386dde1053
@ -153,7 +153,7 @@ button.desktop-explorer {
|
||||
}
|
||||
|
||||
.folder-outer > ul {
|
||||
overflow: hidden;
|
||||
overflow: clip;
|
||||
margin-left: 6px;
|
||||
padding-left: 0.8rem;
|
||||
border-left: 1px solid var(--lightgray);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user