TLDR: Three interconnected UI problems reveal how layout-aware drag detection, unified touch/mouse event handling, and CSS specificity interact when you redesign a panel that lives inside a visibility-toggled tab system.
Schema Editor
Repo
The Responsive Drag Problem
The visual-diff layout uses flex-direction: row on wide screens and flex-direction: column on mobile (< 1024px). The divider between the two panes needs to do different things depending on which axis is active.








