fix(ui): viewer modal — haze background through to the image, fit-to-view at zoom 1

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-23 21:21:02 -04:00
parent 95bc761a69
commit c9ddcd0f60
3 changed files with 17 additions and 5 deletions
@@ -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;