Skip to content

armgit / umami

Public Imported from GitHub
0

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.

add max width to listtable label

Francis Cao1b43aa8d37dd
diff --git a/src/components/metrics/ListTable.tsx b/src/components/metrics/ListTable.tsx
index 4e9ee9044..4c98eb5dc 100644
--- a/src/components/metrics/ListTable.tsx
+++ b/src/components/metrics/ListTable.tsx
@@ -117,7 +117,9 @@ const AnimatedRow = ({
gap
>
<Row alignItems="center">
- <Text>{label}</Text>
+ <Text truncate={true} style={{ maxWidth: '400px' }}>
+ {label}
+ </Text>
</Row>
<Row alignItems="center" height="30px" justifyContent="flex-end">
{change}