Skip to content

Commit 5fc6ecf

Browse files
committed
small visual tweak to prevent big array variable view in some scenarios
1 parent d119308 commit 5fc6ecf

File tree

1 file changed

+1
-1
lines changed
  • libs/web-flow-executor/src/nodes/data-viewers

1 file changed

+1
-1
lines changed

libs/web-flow-executor/src/nodes/data-viewers/array.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function createArrayView(
3636
return `
3737
<div class="flex flex-row justify-start text-left ${index > 0 ? 'mt-2' : ''}">
3838
<div class="${
39-
isObject ? 'grid grid-cols-[auto_1fr]' : 'flex flex-row gap-4'
39+
isObject ? 'grid grid-cols-[auto_1fr]' : 'block max-w-[200px]'
4040
} flex-grow ${textEllipsis}">${
4141
typeof data === 'number'
4242
? data.toFixed(2)

0 commit comments

Comments
 (0)