fix(sidebar): trim the resize handle's outer reach by 1px

This commit is contained in:
Neil
2026-11-08 20:31:49 -08:00
parent 1c2d308d68
commit 9bbefe2e75
@@ -47,7 +47,7 @@ const MIN_WIDTH = 220
const MAX_WIDTH = 500
// Why: start on the divider pixel so pointing at the visible seam resizes instead of scrolling the list.
export const WORKTREE_SIDEBAR_RESIZE_HANDLE_CLASS_NAME =
'peer absolute -right-2.5 top-0 z-20 h-full w-2.5 cursor-col-resize'
'peer absolute -right-[9px] top-0 z-20 h-full w-[9px] cursor-col-resize'
// Why: an open drawer covers the outer side of the seam, so keep the inner overlap wide enough to grab.
const WORKTREE_SIDEBAR_RESIZE_HANDLE_UNDER_DRAWER_CLASS_NAME = '-right-1.5 w-3'
export const WORKTREE_SIDEBAR_RESIZE_HANDLE_LINE_CLASS_NAME =