From 41dda333108d0dbd7037beb2d3a6aca8f54708b1 Mon Sep 17 00:00:00 2001 From: Corey Blais Date: Tue, 2 Jun 2026 17:17:21 -0400 Subject: [PATCH] Tighten adoption report page scale --- frontend/src/App.tsx | 54 ++++++++++++++++++++++---------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index eed6173..8b2da6a 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -4505,9 +4505,9 @@ function App() { font-size: 13px; line-height: 1.38; margin: 0 auto; - max-width: 8.5in; + max-width: 7.5in; min-height: 100vh; - padding: 0.4in; + padding: 0.28in; position: relative; } *, *::before, *::after { box-sizing: inherit; } @@ -4517,15 +4517,15 @@ function App() { background: ${headerBackground}; border: 1px solid var(--border); border-radius: 16px; - box-shadow: 0 16px 34px rgba(86, 63, 34, 0.14); + box-shadow: 0 10px 22px rgba(86, 63, 34, 0.12); display: grid; - gap: 14px; - grid-template-columns: 1.35in minmax(2.1in, 1fr) 1.65in; - min-height: 1.62in; - padding: 0.16in; + gap: 10px; + grid-template-columns: 1.05in minmax(2in, 1fr) 1.28in; + min-height: 1.28in; + padding: 0.12in; } h1, h2, h3, p { margin: 0; } - h1 { color: var(--red); font-size: 24px; letter-spacing: 0; } + h1 { color: var(--red); font-size: 21px; letter-spacing: 0; } h2 { border-bottom: 1px solid var(--border); color: var(--green); @@ -4539,37 +4539,37 @@ function App() { align-self: center; height: auto; justify-self: start; - max-height: 1.3in; + max-height: 1.02in; object-fit: contain; - width: 1.3in; + width: 1.02in; } .report-title { align-self: center; justify-self: center; text-align: center; } - .report-title .muted { margin-top: 8px; } + .report-title .muted { margin-top: 4px; } .profile-photo { aspect-ratio: 1; background: #fff; - border: 3px solid var(--paper); - border-radius: 14px; - box-shadow: 0 10px 22px rgba(86, 63, 34, 0.16); - height: 0.95in; - margin: 0 auto 8px; + border: 2px solid var(--paper); + border-radius: 12px; + box-shadow: 0 8px 16px rgba(86, 63, 34, 0.14); + height: 0.72in; + margin: 0 auto 5px; object-fit: cover; - width: 0.95in; + width: 0.72in; } - .qr { align-self: center; justify-self: end; max-width: 1.65in; text-align: center; width: 100%; } - .qr svg { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 6px; width: 0.92in; } - .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; overflow-wrap: anywhere; } + .qr { align-self: center; justify-self: end; max-width: 1.28in; text-align: center; width: 100%; } + .qr svg { background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 5px; width: 0.72in; } + .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; overflow-wrap: anywhere; } .qr-join-label { color: var(--green); - font-size: 10px; + font-size: 9px; font-weight: 800; letter-spacing: 0.08em; line-height: 1; - margin-bottom: -14px; + margin-bottom: -10px; position: relative; text-transform: uppercase; z-index: 1; @@ -4577,19 +4577,19 @@ function App() { .qr-wordmark { display: block; height: auto; - margin: -14px auto -6px; - max-height: 0.74in; + margin: -10px auto -4px; + max-height: 0.52in; object-fit: contain; - width: min(100%, 1.65in); + width: min(100%, 1.28in); } .qr-note { color: var(--blue); font-family: "Avenir Next", "Arial Rounded MT Bold", Arial, sans-serif; - font-size: 10px; + font-size: 9px; font-weight: 800; letter-spacing: 0; line-height: 1.28; - margin-top: 5px; + margin-top: 3px; } .grid { stroke: rgba(53, 129, 98, 0.16); } .current { fill: none; stroke: ${escapeReportHtml(selectedBird.chartColor)}; stroke-linecap: round; stroke-width: 4; }