restrict feed width in desktop

This commit is contained in:
john 2025-05-03 20:23:20 +02:00
parent 5595d0ace0
commit 38d09a582c

View file

@ -16,8 +16,10 @@ export function AuthorPage() {
const posts = useAsyncState(fetchPosts)
return (
<main className={`w-full max-w-full`}>
<PostsFeed posts={posts ?? []} />
<main className={`w-full max-w-full md:flex md:justify-center`}>
<div className="w-full md:w-lg md:max-w-lg md:ml-8">
<PostsFeed posts={posts ?? []} />
</div>
</main>
)
}