Compare commits

...

2 commits

Author SHA1 Message Date
Francis Cao
bac3ab2c1a 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
2025-10-07 11:35:28 -07:00
Francis Cao
1b43aa8d37 add max width to listtable label 2025-10-07 11:22:58 -07:00
3 changed files with 7 additions and 3 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>

View file

@ -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}