diff --git a/src/renderer/src/components/sidebar/SidebarHeader.tsx b/src/renderer/src/components/sidebar/SidebarHeader.tsx index 11ea42d86..a4e4f4dae 100644 --- a/src/renderer/src/components/sidebar/SidebarHeader.tsx +++ b/src/renderer/src/components/sidebar/SidebarHeader.tsx @@ -51,6 +51,9 @@ const SORT_OPTIONS = [ const isMac = navigator.userAgent.includes('Mac') const newWorktreeShortcutLabel = isMac ? '⌘N' : 'Ctrl+N' +// Why: the sidebar resize handle intentionally has a wide hit target at the +// right edge, but header actions overlapping it should remain clickable. +const HEADER_ACTION_HIT_TARGET_CLASS = 'relative z-20' const SidebarHeader = React.memo(function SidebarHeader() { const [workspaceBoardOpen, setWorkspaceBoardOpen] = useState(false) @@ -124,7 +127,7 @@ const SidebarHeader = React.memo(function SidebarHeader() {