restrict feed width in desktop
This commit is contained in:
parent
5595d0ace0
commit
38d09a582c
1 changed files with 4 additions and 2 deletions
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue