File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ def badge(result: str | None) -> str:
428428.btn:hover { background: #f1f3f4; }
429429table { width: 100%; border-collapse: collapse; }
430430thead th {
431- position: sticky; top: 0 ; z-index: 1;
431+ position: sticky; top: var(--header-h, 0px) ; z-index: 1;
432432 text-align: left; font-size: 12px; color: var(--muted);
433433 font-weight: 600; padding: 8px 12px; background: #f8f9fa;
434434 border-bottom: 1px solid var(--border);
@@ -546,6 +546,13 @@ def badge(result: str | None) -> str:
546546 } catch (e) {}
547547}
548548
549+ function syncHeaderHeight() {
550+ const h = document.querySelector("header").offsetHeight;
551+ document.documentElement.style.setProperty("--header-h", h + "px");
552+ }
553+ syncHeaderHeight();
554+ window.addEventListener("resize", syncHeaderHeight);
555+
549556updateSummary();
550557if (LIVE) setInterval(poll, 1500);
551558</script>
You can’t perform that action at this time.
0 commit comments