Skip to content

Commit 92f0c28

Browse files
fix(ui): correctly render whitespace in strings in string generator previews
This is a visual issue - the underlying strings are not trimmed. Closes #7830
1 parent c1b475c commit 92f0c28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/StringGeneratorFieldComponent.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export const StringGeneratorFieldInputComponent = memo(
109109
fontFamily="monospace"
110110
userSelect="text"
111111
cursor="text"
112+
whiteSpace="pre"
112113
>
113114
{resolvedValuesAsString}
114115
</Text>

0 commit comments

Comments
 (0)