Skip to content

Commit 8436c73

Browse files
committed
enhance disabled mode for subblocks
1 parent ed5dff2 commit 8436c73

File tree

1 file changed

+2
-2
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/short-input

1 file changed

+2
-2
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/short-input/short-input.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ export const ShortInput = memo(function ShortInput({
372372
<div
373373
ref={overlayRef}
374374
className={cn(
375-
'pointer-events-none absolute inset-0 flex items-center overflow-x-auto bg-transparent px-[8px] py-[6px] pr-3 font-medium font-sans text-foreground text-sm [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden',
376-
(isPreview || disabled) && 'opacity-50'
375+
'absolute inset-0 flex items-center overflow-x-auto bg-transparent px-[8px] py-[6px] pr-3 font-medium font-sans text-foreground text-sm [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden',
376+
isPreview || disabled ? 'opacity-50' : 'pointer-events-none'
377377
)}
378378
>
379379
<div className='min-w-fit whitespace-pre'>{formattedText}</div>

0 commit comments

Comments
 (0)