Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
truncate large legend labels Closes #3813
Francis Caob0f38b266bc6
diff --git a/src/components/metrics/Legend.tsx b/src/components/metrics/Legend.tsxindex 63231919d..34ddb5a01 100644--- a/src/components/metrics/Legend.tsx+++ b/src/components/metrics/Legend.tsx@@ -22,7 +22,12 @@ export function Legend({return (<Row key={text} onClick={() => onClick(item)}><StatusLight color={color.alpha(color.alpha() + 0.2).toHex()}>- <Text size="2" color={hidden ? 'disabled' : undefined} wrap="nowrap">+ <Text+ size="2"+ color={hidden ? 'disabled' : undefined}+ truncate={true}+ style={{ maxWidth: '300px' }}+ >{text}</Text></StatusLight>