AykutSarac 3 lat temu
rodzic
commit
c898d99493
1 zmienionych plików z 2 dodań i 4 usunięć
  1. 2 4
      src/components/CustomNode/styles.tsx

+ 2 - 4
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};
 `;