add maxwidth on event/session activity

This commit is contained in:
Francis Cao
2025-10-07 11:35:28 -07:00
parent 1b43aa8d37
commit bac3ab2c1a
2 changed files with 4 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ export function EventsTable({ data = [] }) {
<Text>
{formatMessage(row.eventName ? labels.triggeredEvent : labels.viewedPage)}
</Text>
<Text weight="bold" truncate>
<Text weight="bold" style={{ maxWidth: '300px' }} truncate>
{row.eventName || row.urlPath}
</Text>
</Row>

View File

@@ -59,7 +59,9 @@ export function SessionActivity({
? formatMessage(labels.triggeredEvent)
: formatMessage(labels.viewedPage)}
</Text>
<Text weight="bold">{eventName || urlPath}</Text>
<Text weight="bold" style={{ maxWidth: '400px' }} truncate>
{eventName || urlPath}
</Text>
{hasData > 0 && <PropertiesButton websiteId={websiteId} eventId={eventId} />}
</Row>
</Row>