From 7fa262d9636a73b933747440fac2e6117b2e56e0 Mon Sep 17 00:00:00 2001 From: KoalaTrapLord <265133236+KoalaTrapLord@users.noreply.github.com> Date: Sun, 22 Mar 2026 00:52:54 -0400 Subject: [PATCH] fix(ui): account for nav-height in collection max-height calcs --- ui/collection.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/collection.css b/ui/collection.css index 0341e50..39dce54 100644 --- a/ui/collection.css +++ b/ui/collection.css @@ -236,7 +236,7 @@ display: flex; flex-direction: column; /* Constrain height so table scrolls independently of page */ - max-height: calc(100vh - 80px); + max-height: calc(100vh - var(--nav-height) - 80px); overflow: hidden; } @@ -245,7 +245,7 @@ .coll-filters { width: 240px; flex-shrink: 0; - max-height: calc(100vh - 80px); + max-height: calc(100vh - var(--nav-height) - 80px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent;