fix(ui): Add max-width constraint to feed layout

Constrain feed content to max-w-4xl (896px) and center it, matching
the layout style of sites like programming.dev.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Patrick Mulligan 2026-01-01 21:31:01 +01:00
parent a0c9a45470
commit b84b23b9dc

View file

@ -4,14 +4,14 @@
<!-- Header --> <!-- Header -->
<div class="sticky top-0 z-40 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 border-b"> <div class="sticky top-0 z-40 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 border-b">
<div class="flex items-center justify-between px-4 py-2 sm:px-6"> <div class="max-w-4xl mx-auto flex items-center justify-between px-4 py-2 sm:px-6">
<h1 class="text-lg font-semibold">Feed</h1> <h1 class="text-lg font-semibold">Feed</h1>
</div> </div>
</div> </div>
<!-- Main Feed Area --> <!-- Main Feed Area -->
<div class="flex-1 overflow-y-auto scrollbar-thin scrollbar-thumb-border scrollbar-track-transparent"> <div class="flex-1 overflow-y-auto scrollbar-thin scrollbar-thumb-border scrollbar-track-transparent">
<div class="px-4 sm:px-6"> <div class="max-w-4xl mx-auto px-4 sm:px-6">
<SubmissionList <SubmissionList
:show-ranks="false" :show-ranks="false"
:show-time-range="true" :show-time-range="true"