AykutSarac vor 3 Jahren
Ursprung
Commit
c898d99493
1 geänderte Dateien mit 2 neuen und 4 gelöschten Zeilen
  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;
   cursor: pointer;
 `;
 `;
 
 
-export const StyledText = styled.pre<{
-  width: number;
-  height: number;
-}>`
+export const StyledText = styled.pre<{ width: number; height: number }>`
   display: flex;
   display: flex;
   justify-content: center;
   justify-content: center;
   flex-direction: column;
   flex-direction: column;
   width: ${({ width }) => width};
   width: ${({ width }) => width};
   height: ${({ height }) => height};
   height: ${({ height }) => height};
+  min-height: 50;
   color: ${({ theme }) => theme.TEXT_NORMAL};
   color: ${({ theme }) => theme.TEXT_NORMAL};
 `;
 `;