diff --git a/apps/og-generator/app/page.tsx b/apps/og-generator/app/page.tsx index 48314cedf5a..54cbbecc3c0 100644 --- a/apps/og-generator/app/page.tsx +++ b/apps/og-generator/app/page.tsx @@ -555,11 +555,15 @@ export default function Page() { backgroundSize: '16px 16px', }} > - {/* view toggle */} + {/* view toggle — stays pinned near the top */}
+ {/* Fills the remaining canvas height; on wide/side-by-side screens the + row centers within it. (flex-1 items don't shrink below their + content, so this can't clip an overflowing row — it just grows.) */} +
{showOg && (
@@ -579,16 +583,17 @@ export default function Page() {
{og.fit && (
- {og.fit.fontSize}px + Headline: + + {og.fit.fontSize}px{og.fit.mode === 'auto' ? ' (auto on)' : ''} + · {og.fit.lineCount} {og.fit.lineCount === 1 ? 'line' : 'lines'} · - {og.fit.mode} - · - {headlineContrast.toFixed(1)}:1 {headlineRating} + WCAG: {headlineContrast.toFixed(1)}:1 {headlineRating}
)} @@ -636,6 +641,7 @@ export default function Page() {
)}
+
{/* Floating tool panel — packaged top bar + all controls, docked right.