feat(css): add .lc-page-* width + layout utilities (LC-562) #525
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/LC-562-page-width-utils"
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?
LC-UI-09:
.lc-page-*width + layout normalization utilitiesLast Phase 1 foundation ticket (LC-562, epic LC-553). Adds canonical content-width + layout helpers so utility pages stop picking inconsistent
max-w-*values. Pure@layer componentsadditions inassets/tailwind.css.What changed
.lc-page-narrow-max-w-lg, for login/error/short forms..lc-page-medium-max-w-3xl, for settings/content pages..lc-page-wide-max-w-5xl, for admin/table pages..lc-page-pad-px-4 py-6 sm:px-6, consistent page padding..lc-page-stack-flex flex-col gap-6, vertical section rhythm.The three width helpers center the column (
mx-auto) and go full-width on mobile; a caller inside a flex shell can still override.Why it is safe
just build-csspasses;tailwind-built.cssis unchanged because Tailwind purges these component classes until a template uses them (same source-only posture as LC-555 and the phase-1b tokens). Consuming pages rebuild and emit them, per the repo's existing.btn/.cardconvention.Scope
Vocabulary only - applying these widths to the actual utility pages happens in the migration tickets. This completes the Phase 1 foundation (tokens LC-554, alerts LC-555, widths LC-562).
🤖 Generated with Claude Code
https://claude.ai/code/session_011jXpZXXwpB36MvTr6JrGXN