Skip to content

Commit

Permalink
fix(chart & table): make to prevent dates from wrapping (#20384)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1ae9353)
  • Loading branch information
prosdev0107 authored and michael-s-molina committed Jun 28, 2022
1 parent f58ad25 commit 2d551fa
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ export default function TableChart<D extends DataRecord = DataRecord>(
colorPositiveNegative,
})
: undefined)};
white-space: ${value instanceof Date ? 'nowrap' : undefined};
`;

const cellProps = {
Expand Down

0 comments on commit 2d551fa

Please sign in to comment.