Skip to content

Commit 7906e34

Browse files
committed
fix layout for enters in text
1 parent fd04b01 commit 7906e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/vps-web/src/app/custom-nodes/classes/rect-node-class.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ w-min h-min
4949
getElement={(element: HTMLElement) => {
5050
this.rectElement = element;
5151
}}
52-
class={`rounded flex justify-center items-center text-center`}
52+
class={`rounded flex justify-center items-center text-center whitespace-pre`}
5353
style={`width:${node.width ?? 50}px;height:${
5454
node.height ?? 50
5555
}px;background:${nodeInfo?.fillColor ?? 'black'};border: ${

0 commit comments

Comments
 (0)