Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix: overflow profile properties

Carl-Gerhard Lindesvärdd4e3470f7e4e
diff --git a/apps/start/src/components/ui/key-value-grid.tsx b/apps/start/src/components/ui/key-value-grid.tsx
index 47b4284cf..54481274a 100644
--- a/apps/start/src/components/ui/key-value-grid.tsx
+++ b/apps/start/src/components/ui/key-value-grid.tsx
@@ -113,7 +113,13 @@ export function KeyValueGrid({
<div className={cn('flex-1 min-w-0 text-sm', keyClassName)}>
{renderKey ? renderKey(item) : defaultRenderKey(item)}
</div>
- <div className={cn('text-right text-sm font-mono', valueClassName)}>
+ <div
+ className={cn(
+ 'text-right text-sm font-mono truncate',
+ valueClassName,
+ )}
+ title={typeof item.value === 'string' ? item.value : undefined}
+ >
{renderValue ? renderValue(item) : defaultRenderValue(item)}
</div>
</div>