misc: tweak design of post page

This commit is contained in:
Xyphyn committed 2023-08-13 11:36:30 -07:00
1 parent b8bac864c2
commit 3cb8384df9
3 files changed
+9 -5

No files matched your search

+6 -3
View File
@@ -23,9 +23,12 @@
<title>Create post</title>
</svelte:head>
<Card class="p-6 max-w-2xl mx-auto">
<div class="w-full max-w-5xl mx-auto h-full">
<PostForm
passedCommunity={community}
on:submit={(e) => goto(`/post/${e.detail.post.id}`)}
/>
</Card>
class="mt-auto"
>
<h1 class="text-2xl font-bold" slot="formtitle">Create Post</h1>
</PostForm>
</div>