mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 10:58:10 +00:00
fix(sidebar): trim the resize handle's outer reach by 1px
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user