From 3120a785df5acb00ed246530619232bb079604e4 Mon Sep 17 00:00:00 2001 From: Waleed Date: Wed, 17 Dec 2025 13:42:43 -0800 Subject: [PATCH] fix(terminal): fix text wrap for errors and messages with long strings (#2429) --- .../w/[workflowId]/components/terminal/terminal.tsx | 2 +- apps/sim/components/emcn/components/code/code.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/terminal.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/terminal.tsx index c51ed91c5..49ccb04b4 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/terminal.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/terminal.tsx @@ -1741,7 +1741,7 @@ export function Terminal() { )} {/* Content */} -
+
{shouldShowCodeDisplay ? ( ) { const line = lines[index] return ( -
+
{showGutter && (
) {
@@ -625,7 +625,7 @@ const VirtualizedViewerInner = memo(function VirtualizedViewerInner({
         rowComponent={CodeRow}
         rowProps={rowProps}
         overscanCount={5}
-        className='overflow-x-auto'
+        className={wrapText ? 'overflow-x-hidden' : 'overflow-x-auto'}
       />
     
)