mirror of
https://github.com/Dvorinka/Primora.git
synced 2026-10-28 07:41:23 +00:00
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>
This commit is contained in:
1 parent
361538aabc
commit
6d758c0089
2 files changed
+6
No files matched your search
@@ -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
|
||||
|
||||
@@ -1096,6 +1096,8 @@ code {
|
||||
/* ---------- page scaffold ---------- */
|
||||
.page {
|
||||
max-width: 72rem;
|
||||
width: 100%;
|
||||
margin-inline: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
|
||||
Reference in new issue
Block a user