Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

lint

AykutSaracc898d9949383
diff --git a/src/components/CustomNode/styles.tsx b/src/components/CustomNode/styles.tsx
index 45141c96..da82f41f 100644
--- a/src/components/CustomNode/styles.tsx
+++ b/src/components/CustomNode/styles.tsx
@@ -11,15 +11,13 @@ export const StyledTextWrapper = styled.div`
cursor: pointer;
`;
-export const StyledText = styled.pre<{
- width: number;
- height: number;
-}>`
+export const StyledText = styled.pre<{ width: number; height: number }>`
display: flex;
justify-content: center;
flex-direction: column;
width: ${({ width }) => width};
height: ${({ height }) => height};
+ min-height: 50;
color: ${({ theme }) => theme.TEXT_NORMAL};
`;