Let pages use the full width of the content area (#100)
All checks were successful
CD / Build and push images (push) Successful in 1m6s
CD / Deploy to Test (push) Successful in 10s
CD / Smoke tests against Test (push) Successful in 1m11s
CD / Promote to Int (push) Successful in 10s
CI / Lint, typecheck, test (push) Successful in 3m31s
CI / Build container images (push) Has been skipped
CI / Auth e2e pack (push) Successful in 5m30s
CI / Import/export fidelity gate (push) Successful in 46s
All checks were successful
CD / Build and push images (push) Successful in 1m6s
CD / Deploy to Test (push) Successful in 10s
CD / Smoke tests against Test (push) Successful in 1m11s
CD / Promote to Int (push) Successful in 10s
CI / Lint, typecheck, test (push) Successful in 3m31s
CI / Build container images (push) Has been skipped
CI / Auth e2e pack (push) Successful in 5m30s
CI / Import/export fidelity gate (push) Successful in 46s
- drop the 48rem cap on .editor-page (view and edit mode); the public read view keeps its own narrow reading layout - min-width: 0 on .app-body — as a grid item it defaulted to a min-content minimum, which pushed the whole app wider than the viewport once the cap was gone - .editor-page__header wraps so the action buttons never force horizontal page scrolling (interim until #101 moves them to the TopBar) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EwZ4jR4KFAPvpjWevfUGX1
This commit is contained in:
parent
6c4f37ef91
commit
49e4377764
@ -60,6 +60,9 @@ button {
|
||||
.app-body {
|
||||
display: flex;
|
||||
min-height: 0;
|
||||
/* Grid items default to a min-content minimum; without this the row can
|
||||
force the whole app wider than the viewport (issue #100). */
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
@ -600,14 +603,15 @@ button {
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
/* Page editor (issue #25) */
|
||||
/* Page editor (issue #25). Fills the content area — no width cap (issue
|
||||
#100); the public read view keeps its own narrow reading layout. */
|
||||
.editor-page {
|
||||
max-width: 48rem;
|
||||
margin: 0 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.editor-page__header {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: var(--space-4);
|
||||
margin-bottom: var(--space-4);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user