UI/UX: Remove max-width constraint and reduce main container padding #16

Closed
opened 2026-02-07 20:32:28 +00:00 by forbes · 0 comments
Owner

Problem

The <main> element in AppShell.tsx has maxWidth: 1400px and padding: 2rem (32px all sides). On typical 1920px+ monitors this wastes significant horizontal space — leaving large empty margins on both sides. Tables, forms, and data grids are all constrained to ~1336px usable width.

Proposed Changes

  • Remove or significantly raise maxWidth: 1400 from <main> in AppShell.tsx (e.g. remove entirely, or raise to 100%)
  • Reduce main padding from 2rem to 1rem or 1rem 1.5rem
  • Verify all pages (Items, Projects, Schemas, Audit, Settings) render correctly at full width
  • Login page should retain its centered narrow layout (it has its own maxWidth: 400)

Impact

HIGH — Immediately reclaims horizontal space on every page. Tables gain room for more visible columns and longer text before truncation.

Files

  • web/src/components/AppShell.tsx (primary change)
  • All page components (verify rendering)
## Problem The `<main>` element in `AppShell.tsx` has `maxWidth: 1400px` and `padding: 2rem` (32px all sides). On typical 1920px+ monitors this wastes significant horizontal space — leaving large empty margins on both sides. Tables, forms, and data grids are all constrained to ~1336px usable width. ## Proposed Changes - Remove or significantly raise `maxWidth: 1400` from `<main>` in `AppShell.tsx` (e.g. remove entirely, or raise to `100%`) - Reduce main padding from `2rem` to `1rem` or `1rem 1.5rem` - Verify all pages (Items, Projects, Schemas, Audit, Settings) render correctly at full width - Login page should retain its centered narrow layout (it has its own `maxWidth: 400`) ## Impact HIGH — Immediately reclaims horizontal space on every page. Tables gain room for more visible columns and longer text before truncation. ## Files - `web/src/components/AppShell.tsx` (primary change) - All page components (verify rendering)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/silo#16