Skip to content

Commit

Permalink
fix(charts): tooltip whitespace is not preserved for Safari (#10355)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlabrecq committed May 14, 2024
1 parent e23ffa6 commit 13a5093
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export const getLegendTooltipSize = ({
// Get spacing to help align legend labels and text values
const spacer = 'x';
const getSpacing = (legendLabel: string, textLabel: string) => {
let spacing = '';
let spacing = '\u00A0';
if (maxLength === 0) {
return spacing;
}
Expand Down

0 comments on commit 13a5093

Please sign in to comment.