Fix narrow article content width #187
Labels
No labels
activitypub
admin
api
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
database
deployment
design
dev-env
docs
documentation
email
enhancement
feature
federation
feed
homepage
implementation
integration
media
openapi
priority:high
priority:low
priority:medium
proof
public-routes
public-ui
release
safety
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit#187
Loading…
Add table
Add a link
Reference in a new issue
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?
Summary
Post detail pages do not use the available article card width. The rendered
.post-contentis capped atmax-w-3xl(768px), while the surrounding article card has substantially more horizontal space available.Steps to reproduce
http://localhost:3000/posts/decentralized-social-mediain Chromium.Expected behavior
Actual behavior
.post-contentis constrained tomax-w-3xl/ 768px, leaving unused space to the right.Acceptance criteria
Synced from todu comment by @todu on 2026-06-22T12:17:46.125Z
Closing summary
mainas merge commit033b09cwith implementation commitbffdfba(fix: expand post detail content width,Task: #task-83b6b57c).template/site/src/templates/public.tsxremovedmax-w-3xlfrom the post detail.post-contentclass.p-5,sm:p-10).template/site/src/routes/__tests__/public.test.tsasserts the post content class is present withoutmax-w-3xl.Close gate result: READY.
Synced from todu comment by @todu on 2026-06-22T12:15:28.954Z
Review update
./scripts/pre-pr.shpassed, and Forgejo Actions run #258 issuccess.