Skip to content

Commit a382cd6

Browse files
authored
fix(charts) - legend tooltip missing space between label and value (#11156)
#11154
1 parent 79e3652 commit a382cd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-charts/src/victory/components/ChartUtils/chart-tooltip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export const getLegendTooltipSize = ({
123123
legendData,
124124
legendOrientation = 'vertical',
125125
legendProps,
126-
minSpacing = 1,
126+
minSpacing = 2, // Adjust min spacing, see https://issues.redhat.com/browse/COST-5648
127127
text = '',
128128
theme
129129
}: ChartLegendTooltipFlyoutInterface) => {

0 commit comments

Comments
 (0)