From fb60196204334624853f348300ebfde089800683 Mon Sep 17 00:00:00 2001 From: Arne Baeumler Date: Fri, 12 Jun 2026 14:57:47 +0200 Subject: [PATCH] refactor(ui): compact sidebar photo tiles --- src/server/request-handler.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/server/request-handler.ts b/src/server/request-handler.ts index ef4d280..d6a2d79 100644 --- a/src/server/request-handler.ts +++ b/src/server/request-handler.ts @@ -498,11 +498,12 @@ function htmlPage(): string { .list { display: grid; - grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); - gap: 8px; + grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); + gap: 6px; align-content: start; min-height: 0; - overflow: auto; + overflow-y: auto; + overflow-x: hidden; padding-right: 2px; } @@ -858,7 +859,7 @@ function htmlPage(): string { .list { max-height: min(52vh, 420px); - grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); + grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); } main {