misc: improve layout

This commit is contained in:
Xyphyn committed 2023-07-31 14:41:58 -07:00
1 parent 13a4b06e41
commit 2627dbd3f9
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
<aside
class="sticky top-16 break-words flex
flex-col gap-4 p-6 w-96 max-h-[calc(100vh-4rem)]
flex-col gap-4 p-6 max-w-[20rem] min-w-[18rem] max-h-[calc(100vh-4rem)]
overflow-auto text-sm border-l border-slate-200 dark:border-zinc-800 {$$props.class}"
>
<slot />
+1 -1
View File
@@ -35,7 +35,7 @@
<ToastContainer />
<Moderation />
<div
class="flex flex-row h-full w-full max-w-full lg:divide-x dark:divide-zinc-800
class="flex flex-row h-full w-full max-w-full lg:divide-x dark:divide-zinc-900
divide-slate-200 flex-1"
>
<Sidebar />
+2 -2
View File
@@ -55,7 +55,7 @@
</span>
</div>
</div>
<div class="md:hidden">
<div class="xl:hidden">
<Button color="secondary" on:click={() => (sidebar = true)}>
Sidebar
</Button>
@@ -91,7 +91,7 @@
}}
/>
</div>
<div class="hidden md:block">
<div class="hidden xl:block">
<CommunityCard community_view={data.community} />
</div>
</div>