Skip to content

Commit ee691ea

Browse files
waleedlatif1claude
andcommitted
fix(workflow-search): unclip block-name highlight shadow on the left
The editor title h2 has truncate (overflow:hidden) with no left padding, so the search highlight's -3px box-shadow was clipped, exposing the sharp edge of the mark. Adds matching 3px left padding to both the h2 and the rename input so the shadow renders symmetrically and the title position doesn't shift between view and edit modes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 972ec5f commit ee691ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,11 +393,11 @@ export function Editor() {
393393
handleCancelRename()
394394
}
395395
}}
396-
className='min-w-0 flex-1 truncate bg-transparent pr-2 font-medium text-[var(--text-primary)] text-sm outline-none'
396+
className='min-w-0 flex-1 truncate bg-transparent pr-2 pl-[3px] font-medium text-[var(--text-primary)] text-sm outline-none'
397397
/>
398398
) : (
399399
<h2
400-
className='min-w-0 flex-1 cursor-pointer select-none truncate pr-2 font-medium text-[var(--text-primary)] text-sm'
400+
className='min-w-0 flex-1 cursor-pointer select-none truncate pr-2 pl-[3px] font-medium text-[var(--text-primary)] text-sm'
401401
title={title}
402402
onDoubleClick={handleStartRename}
403403
onMouseDown={(e) => {

0 commit comments

Comments
 (0)