Manually merge PR #1799.

This commit is contained in:
Mike Cao 2023-04-17 10:26:08 -07:00
parent 43499eb4fd
commit d2edb0d0d7
2 changed files with 13 additions and 4 deletions

View File

@ -146,7 +146,7 @@ export default function RealtimeLog({ data, websiteDomain }) {
<div className={styles.body}>
{logs?.length === 0 && <NoData />}
{logs?.length > 0 && (
<FixedSizeList height={400} itemCount={logs.length} itemSize={40}>
<FixedSizeList height={500} itemCount={logs.length} itemSize={50}>
{Row}
</FixedSizeList>
)}

View File

@ -9,15 +9,15 @@
align-items: center;
justify-content: space-between;
font-size: var(--font-size-md);
line-height: 40px;
font-weight: 600;
line-height: 50px;
font-weight: 700;
}
.row {
display: flex;
align-items: center;
gap: 10px;
height: 40px;
height: 50px;
border-bottom: 1px solid var(--base300);
}
@ -49,6 +49,15 @@
overflow: hidden;
}
.detail > span {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
}
.row .link {
color: var(--base900);
text-decoration: none;