diff --git a/app/w/components/workflow-block/components/sub-block/components/code.tsx b/app/w/components/workflow-block/components/sub-block/components/code.tsx index 5454d22d01..3ef2f4b945 100644 --- a/app/w/components/workflow-block/components/sub-block/components/code.tsx +++ b/app/w/components/workflow-block/components/sub-block/components/code.tsx @@ -546,6 +546,7 @@ export function Code({ blockId, subBlockId }: CodeProps) { 'text-muted-foreground placeholder:text-muted-foreground/50', 'leading-none flex items-center', 'whitespace-pre', + 'allow-scroll', selection && 'selection:bg-primary/20' ), [selection] diff --git a/app/w/components/workflow-block/components/sub-block/components/table.tsx b/app/w/components/workflow-block/components/sub-block/components/table.tsx index 81ac2c2def..61864892c3 100644 --- a/app/w/components/workflow-block/components/sub-block/components/table.tsx +++ b/app/w/components/workflow-block/components/sub-block/components/table.tsx @@ -112,7 +112,7 @@ export function Table({ columns, blockId, subBlockId }: TableProps) { onFocus={() => { activePositionRef.current = { rowIndex, column } }} - className="border-0 focus-visible:ring-0 focus-visible:ring-offset-0 text-muted-foreground placeholder:text-muted-foreground/50" + className="border-0 focus-visible:ring-0 focus-visible:ring-offset-0 text-muted-foreground placeholder:text-muted-foreground/50 allow-scroll" /> ))}