fix(workflow-search): unclip block-name highlight shadow on the left (#4670)

The editor title h2 uses truncate (overflow:hidden) so the search highlight's -3px box-shadow was getting clipped on the left, exposing the mark's sharp edge. Replaces overflow:hidden with overflow:clip plus a 3px overflow-clip-margin so the shadow can bleed past the clip boundary without shifting the title text or breaking truncation.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Waleed
2026-05-19 16:32:05 -07:00
committed by GitHub
co-authored by Claude Opus 4.7
parent 972ec5f216
commit e40c91588f
@@ -397,7 +397,7 @@ export function Editor() {
/>
) : (
<h2
className='min-w-0 flex-1 cursor-pointer select-none truncate pr-2 font-medium text-[var(--text-primary)] text-sm'
className='min-w-0 flex-1 cursor-pointer select-none text-ellipsis whitespace-nowrap [overflow:clip] [overflow-clip-margin:3px] pr-2 font-medium text-[var(--text-primary)] text-sm'
title={title}
onDoubleClick={handleStartRename}
onMouseDown={(e) => {