From 6d758c00898a53bfa068ab9516b29ba38ad6b2a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Dvo=C5=99=C3=A1k?= <150935816+Dvorinka@users.noreply.github.com> Date: Mon, 28 Sep 2026 22:31:19 +0200 Subject: [PATCH] fix(frontend): center capped content column on wide viewports (#50) The .page column was max-width 72rem but left-aligned, leaving a large empty band on the right above ~1200px. margin-inline: auto centers it; narrow widths are unchanged since the column fills the viewport anyway. Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- CHANGELOG.md | 4 ++++ apps/frontend/src/index.css | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 86a3a16..9531389 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to Primora. Format follows [Keep a Changelog](https://keepac ## [Unreleased] +### Fixed + +- **Content column centers on wide screens** — `.page` was capped at 72rem but left-aligned, so above ~1200px the dashboard hugged the left with a growing dead zone on the right. It now centers (`margin-inline: auto`) while staying full-width below the cap. + ## [0.8.4] - 2026-09-28 ### Added diff --git a/apps/frontend/src/index.css b/apps/frontend/src/index.css index ac5c4d6..3dea3a6 100644 --- a/apps/frontend/src/index.css +++ b/apps/frontend/src/index.css @@ -1096,6 +1096,8 @@ code { /* ---------- page scaffold ---------- */ .page { max-width: 72rem; + width: 100%; + margin-inline: auto; display: flex; flex-direction: column; gap: 1.5rem;