From 7326daf1a2d8d8b8f2f15f4e75e7e8e10c5dc283 Mon Sep 17 00:00:00 2001 From: Faris Demirovic Date: Mon, 5 Aug 2024 14:27:50 +0200 Subject: [PATCH] Adjust vertical alignment in elements when stereotype is invisible --- .../packages/common/uml-component/uml-component-component.tsx | 2 +- .../uml-component-subsystem-component.tsx | 2 +- .../uml-deployment-node/uml-deployment-node-component.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/packages/common/uml-component/uml-component-component.tsx b/src/main/packages/common/uml-component/uml-component-component.tsx index 45305628..c66f1621 100644 --- a/src/main/packages/common/uml-component/uml-component-component.tsx +++ b/src/main/packages/common/uml-component/uml-component-component.tsx @@ -33,7 +33,7 @@ export const UMLComponentComponent: FunctionComponent = ({ element, child {`«${element.stereotype}»`} )} - + {element.name} diff --git a/src/main/packages/uml-component-diagram/uml-component-subsystem/uml-component-subsystem-component.tsx b/src/main/packages/uml-component-diagram/uml-component-subsystem/uml-component-subsystem-component.tsx index 9c24483d..71e3809a 100644 --- a/src/main/packages/uml-component-diagram/uml-component-subsystem/uml-component-subsystem-component.tsx +++ b/src/main/packages/uml-component-diagram/uml-component-subsystem/uml-component-subsystem-component.tsx @@ -33,7 +33,7 @@ export const UMLComponentSubsystem: FunctionComponent = ({ element, child {`«${element.stereotype}»`} )} - + {element.name} diff --git a/src/main/packages/uml-deployment-diagram/uml-deployment-node/uml-deployment-node-component.tsx b/src/main/packages/uml-deployment-diagram/uml-deployment-node/uml-deployment-node-component.tsx index a2d5fc2c..3ed1d1b5 100644 --- a/src/main/packages/uml-deployment-diagram/uml-deployment-node/uml-deployment-node-component.tsx +++ b/src/main/packages/uml-deployment-diagram/uml-deployment-node/uml-deployment-node-component.tsx @@ -33,7 +33,7 @@ export const UMLDeploymentNodeComponent: FunctionComponent = ({ element, )}