From f7297fcfdfeb51aaa63e3f1155eb96705e32907f Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Wed, 17 Dec 2025 13:35:44 -0800 Subject: [PATCH] fix(terminal): fix text wrap for errors and messages with long strings --- .../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 c51ed91c59..49ccb04b47 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'}
       />
     
)