Pages use the full width of the content area #100
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#100
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Page content is centered at
max-width: 48remin both view and edit mode; on wide screens most of the content area is empty margin. Pages should use the full available width — especially valuable together with the resizable sidebar.Scope
Remove the fixed 48rem cap on
.editor-pageso view AND edit mode fill the content area (minus sensible padding). Check the follow-on layouts that assumed the narrow column:.editor-page__bodyside panels (history, labels, attachments, comments), the toolbar row, tables/code blocks (horizontal scrolling inside the content, never the page), and the backlinks panel. Readability of very long lines is the editor's concern — if a line-length guard is wanted later, it becomes a user setting, not a hard cap (out of scope here).Acceptance criteria
PublicPageView/ server-rendered HTML shell) is explicitly left unchanged (its own reading layout)Technical notes
.editor-page { max-width: 48rem; margin: 0 auto; }(apps/web/src/styles/base.css:588)..editor-shellalready flexes (flex: 1 1 auto; min-width: 0).Dependencies
Pairs well with the resizable sidebar (previous issue), no hard dependency.
Size: ~0.5 days
Conventions: English code/comments, clear human-readable code, no hard-coded UI strings (ADR 0012, add
deanden), permission checks only via the shared guard (docs/architecture/permissions.md). Read the referenced ADRs before starting.Umgesetzt in
49e4377(CI grün, HEAD-Laufe740ea6komplett grün).Was drin ist
.editor-pageist weg — View- und Edit-Modus füllen die Content-Fläche (Padding von.mainbleibt)..app-bodybrauchtemin-width: 0. Als Grid-Item von.apphat es ein automatisches min-content-Minimum; ohne Cap drückte die Button-Zeile die GESAMTE App breiter als den Viewport (Topbar 1830px bei 1728er-Fenster) → horizontales Seiten-Scrollen. Mit dem Fix schrumpft.mainkorrekt..editor-page__headerbekamflex-wrapals Interim, damit die (bis #101 noch grünen) Action-Buttons umbrechen statt überzulaufen — seit #101 trägt der Header ohnehin nur noch den Titel.overflow-x: autoaufprebestand schon); Tabellen sindwidth: 100%im breiteren Container.PublicPageView(.public-page, 48rem) und die server-gerenderte HTML-Shell sind explizit unverändert.Verifiziert im Browser: View + Edit volle Breite; History-Panel öffnet neben dem Editor ohne Inhalt aus dem Bild zu schieben;
document.documentElement.scrollWidth === innerWidthin View und Edit (vorher 1830 > 1728).