Repository navigation
fix(ui): widen split divider gaps to 16px so dividers are easy to grab - #43357
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
… the pointer, and continue tab strips across split gaps
The feature.terminal-pane-geometry route still named issue-12656-terminal-link-tooltip, which #43014 removed, so any PR touching terminal.css or pane-divider.ts failed 'changed e2e specs' on a missing file.
7160736 to
9ec2f3d
Compare
Summary
Split dividers were hard to grab: the tab-group seam was 6px and the terminal seam 10px. This widens the real gap between split panes to 16px, so the grab area is layout space. It does not overlay pane content, so clicks, scrollbars, tab bars and line numbers next to a seam keep working.
max(16px, thickness + 6px). The Settings > Terminal divider thickness (1–32px) still sets the visible line. The line's join extension no longer takes clicks, so a parent divider owns its whole box at crossings.Also removes a CI e2e route that pointed at a spec deleted in #43014.
Panes next to a seam are slightly smaller: 10px per tab split, and
16 - (thickness + 6)px per terminal split when thickness is under 10px. Saved split ratios keep their meaning and restore unchanged.Testing
pnpm tc,pnpm lint,pnpm check:changed(includes unit tests).mainwith the same layout:Risk
Low. The change is renderer CSS and split-drag geometry only, with no data or IPC changes. To back it out, revert this PR; saved split ratios are unaffected either way.
Visual proof: before/after captures were reviewed but aren't attached, because they show local machine paths. The measured pixel and geometry results are summarized under Testing.
Known gaps and follow-ups
mainnow fall in the gap, so a file dropped there does nothing.main.Performance
Mostly CSS and layout geometry; no performance measurement or load trace was taken.
getBoundingClientRect(). A normal release after a drag reads it once more. This replaces the per-dragResizeObserver.