fix sessionactivity overflow

This commit is contained in:
Francis Cao 2024-11-26 11:02:34 -08:00
parent dfc13ced55
commit d800b42b6b
2 changed files with 3 additions and 6 deletions

View File

@ -5,7 +5,8 @@
} }
.row { .row {
display: flex; display: grid;
grid-template-columns: max-content max-content 1fr;
align-items: center; align-items: center;
gap: 20px; gap: 20px;
} }
@ -15,10 +16,6 @@
width: 150px; width: 150px;
} }
.value {
white-space: nowrap;
}
.header { .header {
font-weight: bold; font-weight: bold;
} }

View File

@ -42,7 +42,7 @@ export function SessionActivity({
</StatusLight> </StatusLight>
</div> </div>
<Icon>{eventName ? <Icons.Bolt /> : <Icons.Eye />}</Icon> <Icon>{eventName ? <Icons.Bolt /> : <Icons.Eye />}</Icon>
<div className={styles.value}>{eventName || urlPath}</div> <div>{eventName || urlPath}</div>
</div> </div>
</> </>
); );