style(realtime): fix layout for realtime protocol
This commit is contained in:
@@ -176,9 +176,11 @@ export default function RealtimeLog({ data, websites, websiteId }) {
|
|||||||
</div>
|
</div>
|
||||||
<div className={styles.body}>
|
<div className={styles.body}>
|
||||||
{logs?.length === 0 && <NoData />}
|
{logs?.length === 0 && <NoData />}
|
||||||
<FixedSizeList height={400} itemCount={logs.length} itemSize={40}>
|
{logs?.length > 0 && (
|
||||||
{Row}
|
<FixedSizeList height={400} itemCount={logs.length} itemSize={40}>
|
||||||
</FixedSizeList>
|
{Row}
|
||||||
|
</FixedSizeList>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
.table {
|
.table {
|
||||||
font-size: var(--font-size-xsmall);
|
font-size: var(--font-size-xsmall);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
height: 100%;
|
||||||
|
display: grid;
|
||||||
|
grid-template-rows: fit-content(100%) fit-content(100%) auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
@@ -21,6 +24,7 @@
|
|||||||
|
|
||||||
.body {
|
.body {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
|
|||||||
Reference in New Issue
Block a user