From 950c6cb85cee623945df6534727701f53cd4e07d Mon Sep 17 00:00:00 2001 From: Taylor Date: Tue, 14 Jun 2022 16:09:16 -0400 Subject: [PATCH] fix(chart & table): make to prevent dates from wrapping --- superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx b/superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx index f0b125940bb83..4bed88acc7ee2 100644 --- a/superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx +++ b/superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx @@ -394,6 +394,7 @@ export default function TableChart( colorPositiveNegative, }) : undefined)}; + white-space: ${value instanceof Date ? 'nowrap' : undefined}; `; const cellProps = {