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

@@ -171,7 +171,7 @@
{/await}
{/if}
<form on:submit|preventDefault={submit} class="flex flex-col gap-4">
<form on:submit|preventDefault={submit} class="flex flex-col gap-4 h-full">
<slot name="formtitle">
<h1 class="font-bold text-xl">
{edit ? 'Edit' : 'Create'} Post
@@ -256,6 +256,7 @@
loading={data.loading}
size="lg"
disabled={data.loading}
class={$$props.class}
>
Submit
</Button>
+1 -1
View File
@@ -1,6 +1,6 @@
<aside
class="sticky top-16 break-words flex
flex-col gap-4 p-6 max-w-full w-96 max-h-[calc(100svh-4rem)]
flex-col gap-4 p-6 max-w-full 2xl:w-96 w-80 max-h-[calc(100svh-4rem)]
overflow-auto text-sm border-slate-200 dark:border-zinc-800 {$$props.class}"
>
<slot />