mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 00:17:02 +02:00
feat(post): add max-width constraint to content
Add max-w-2xl (768px) with mx-auto to center and constrain post content width, similar to ZapWindow. Prevents content from becoming too wide on large screens while maintaining good readability.
This commit is contained in:
@@ -430,7 +430,7 @@ export function PostViewer() {
|
||||
|
||||
return (
|
||||
<div className="h-full overflow-y-auto">
|
||||
<div className="space-y-4 p-4">
|
||||
<div className="max-w-2xl mx-auto space-y-4 p-4">
|
||||
{!showPublishedPreview ? (
|
||||
<>
|
||||
{/* Editor */}
|
||||
|
||||
Reference in New Issue
Block a user