fix: add whitespace normal property (#1723)

This commit is contained in:
Axel Nilsson
2025-04-24 12:51:50 +02:00
committed by GitHub
parent aba0dd50bc
commit 5f08509d3b

View File

@@ -8,6 +8,7 @@ const StyledText = styled(Typography, { shouldForwardProp: (p) => !['width', 'de
minWidth: `${width}px`,
textAlign: 'center',
fontSize: `${dense ? '12px' : '14px'}`,
whiteSpace: 'normal',
...(dense && {
textOverflow: 'ellipsis',
overflow: 'hidden',