From bd559e739e1071dfd74056c1c2e4635b518386c0 Mon Sep 17 00:00:00 2001 From: Till JS Date: Sat, 25 Apr 2026 14:10:11 +0200 Subject: [PATCH] =?UTF-8?q?polish(picture):=20clean=20borderless=20lightbo?= =?UTF-8?q?x=20=E2=80=94=20image-first,=20meta=20in=20the=20corner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Feedback on the previous lightbox: the image was capped at 60vh inside a bordered card, with metadata + action buttons stacked underneath in their own panel. Result: ~40% of the modal surface was chrome around a small picture, and the eye landed on the card edge before the actual generation. The user asked for image-first: fill the height, no module border, gray text in the bottom-right corner. New layout: - Borderless backdrop. The card frame is gone; the image sits directly on a near-black overlay (rgba(0,0,0,0.92)) so nothing competes for the eye. - Image fills the available area via `max-h-full max-w-full object-contain` inside a flex-center wrapper, with 6/10-rem outer padding so the picture doesn't kiss the viewport edges on small screens. - Metadata moves to a small grey overlay in the bottom-right corner — prompt on top, then a single inline detail line (model · dimensions · date) separated by middle dots. Right- aligned so longer prompts wrap toward the image edge instead of the centre. - Close becomes a circular icon-button in the top-right (X), no longer a footer button. ESC + backdrop-click still close. - Caller-supplied actions (the `actions` snippet) move to the bottom-left so they don't fight the meta block visually. Colour treatment uses literal white-alpha + black-alpha values in a scoped `