fix(chart & table): make to prevent dates from wrapping (#20384)

This commit is contained in:
smileydev
2022-06-21 08:58:50 -04:00
committed by GitHub
parent 9fad26fa19
commit 1ae935379f

View File

@@ -394,6 +394,7 @@ export default function TableChart<D extends DataRecord = DataRecord>(
colorPositiveNegative,
})
: undefined)};
white-space: ${value instanceof Date ? 'nowrap' : undefined};
`;
const cellProps = {