From c9ddcd0f607ee81fd3666d4398edf01a16441a16 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sat, 23 May 2026 21:21:02 -0400 Subject: [PATCH] =?UTF-8?q?fix(ui):=20viewer=20modal=20=E2=80=94=20haze=20?= =?UTF-8?q?background=20through=20to=20the=20image,=20fit-to-view=20at=20z?= =?UTF-8?q?oom=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 (1M context) --- frontend/src/components/modal/ImageCanvas.vue | 4 +++- frontend/src/components/modal/ImageViewer.vue | 14 +++++++++++--- frontend/src/components/modal/VideoCanvas.vue | 4 +++- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/modal/ImageCanvas.vue b/frontend/src/components/modal/ImageCanvas.vue index 52cbb17..7cd986a 100644 --- a/frontend/src/components/modal/ImageCanvas.vue +++ b/frontend/src/components/modal/ImageCanvas.vue @@ -33,7 +33,9 @@ watch(() => props.src, () => panZoom.reset()) .fc-canvas { flex: 1; position: relative; - background: rgb(var(--v-theme-background)); + /* Transparent so the viewer's haze shows through to the image area + instead of a solid panel sitting on top of it. */ + background: transparent; overflow: hidden; cursor: zoom-in; user-select: none; diff --git a/frontend/src/components/modal/ImageViewer.vue b/frontend/src/components/modal/ImageViewer.vue index 99ef9e8..195037f 100644 --- a/frontend/src/components/modal/ImageViewer.vue +++ b/frontend/src/components/modal/ImageViewer.vue @@ -123,7 +123,11 @@ function isTextEntry(el) {