add maxwidth on event/session activity
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run

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>