diff --git a/src/views/html.ts b/src/views/html.ts index 05d5a973..22b72e41 100644 --- a/src/views/html.ts +++ b/src/views/html.ts @@ -16,6 +16,8 @@ export function getHeader(options: {withCollapsed?: boolean} = {}): string { background-color: var(--vscode-banner-background); color: var(--vscode-banner-foreground); text-align: left; + position: sticky; /* Lock the header row to the top so it's always visible as rows are scrolled */ + top: 0; /* Don't forget this, required for the stickiness */ } #resultset th, diff --git a/src/views/jobManager/jobLog.ts b/src/views/jobManager/jobLog.ts index 55e86b58..6cb42d72 100644 --- a/src/views/jobManager/jobLog.ts +++ b/src/views/jobManager/jobLog.ts @@ -23,9 +23,19 @@ function generatePage(rows: JobLogEntry[]) {
${getHeader()} - +| Sent | +Type | +Severity | +Message ID | +Message | +Second Level Text | +
|---|---|---|---|---|---|