Skip to content

Commit b5570c1

Browse files
fix(cursor): misaligned in long inputs (#1388)
1 parent 225571c commit b5570c1

File tree

1 file changed

+1
-2
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components

1 file changed

+1
-2
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/long-input.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,13 +397,12 @@ export function LongInput({
397397
/>
398398
<div
399399
ref={overlayRef}
400-
className='pointer-events-none absolute inset-0 whitespace-pre-wrap break-words bg-transparent px-3 py-2 text-sm'
400+
className='pointer-events-none absolute inset-0 overflow-auto whitespace-pre-wrap break-words border border-transparent bg-transparent px-3 py-2 text-base md:text-sm'
401401
style={{
402402
fontFamily: 'inherit',
403403
lineHeight: 'inherit',
404404
width: '100%',
405405
height: `${height}px`,
406-
overflow: 'hidden',
407406
}}
408407
>
409408
{formatDisplayText(value?.toString() ?? '')}

0 commit comments

Comments
 (0)