Logs Panel: use provided height for the container (#109786)

LogsPanel: use provided height for the container
This commit is contained in:
Matias Chomicki
2025-08-18 14:26:59 +02:00
committed by GitHub
parent 6fb6cf4f1d
commit 3857faf7b3
@@ -172,6 +172,7 @@ export const LogsPanel = ({
timestampResolution,
...options
},
height,
id,
}: LogsPanelProps) => {
const isAscending = sortOrder === LogsSortOrder.Ascending;
@@ -565,6 +566,7 @@ export const LogsPanel = ({
<div
onMouseLeave={onLogContainerMouseLeave}
className={style.logListContainer}
style={height ? { minHeight: height } : undefined}
ref={(element: HTMLDivElement) => setScrollElement(element)}
>
{deduplicatedRows.length > 0 && scrollElement && (