diff --git a/package.json b/package.json index 211417a..c8a6ce4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "siteforge", "private": true, - "version": "2.10.4", + "version": "2.10.5", "type": "module", "scripts": { "dev": "vite", diff --git a/src/App.css b/src/App.css index f234156..c9d8d93 100644 --- a/src/App.css +++ b/src/App.css @@ -9976,6 +9976,12 @@ margin-bottom: 2.5rem; } +/* Text column grows; the QR code sits at the top right of the hero */ +.finished-series-hero > div:not(.finished-series-cd):not(.finished-series-qr) { + flex: 1; + min-width: 0; +} + .finished-series-hero-img { width: 160px; height: 160px; @@ -10098,16 +10104,16 @@ } .finished-series-qr { - margin-top: 1.25rem; + flex-shrink: 0; display: flex; flex-direction: column; - gap: 0.35rem; - width: fit-content; + gap: 0.45rem; + width: 140px; } .finished-series-qr-img { - width: 100px; - height: 100px; + width: 140px; + height: 140px; border-radius: 6px; border: 1px solid rgba(201, 168, 76, 0.25); display: block; @@ -10405,6 +10411,15 @@ gap: 1rem; } + .finished-series-qr { + width: 120px; + } + + .finished-series-qr-img { + width: 120px; + height: 120px; + } + .finished-series-hero-img { width: 120px; height: 120px; diff --git a/src/App.tsx b/src/App.tsx index 9a948cd..45463bb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1964,15 +1964,15 @@ function FinishedSeriesPage({ content }: { content: SiteContent }) { )} - {book.downloadQrUrl && book.downloadUrl && ( -
- - {`QR - -

Scan to download the full album

-
- )} + {book.downloadQrUrl && book.downloadUrl && ( +
+ + {`QR + +

Scan to download the full album

+
+ )}