fix: <main> not shrinking
This commit is contained in:
1 parent
13f9ac6d9b
commit
c4aa521c29
2 files changed
+4
-4
No files matched your search
@@ -35,7 +35,7 @@
|
|||||||
? 'bg-slate-100/80 dark:bg-black/80'
|
? 'bg-slate-100/80 dark:bg-black/80'
|
||||||
: ''} backdrop-blur-3xl
|
: ''} backdrop-blur-3xl
|
||||||
w-full mx-auto px-4 py-2 z-50 border-b transition-all
|
w-full mx-auto px-4 py-2 z-50 border-b transition-all
|
||||||
border-slate-200 dark:border-zinc-900 box-border"
|
border-slate-200 dark:border-zinc-900 box-border h-16"
|
||||||
>
|
>
|
||||||
<div class="flex flex-row gap-2 items-center mr-auto">
|
<div class="flex flex-row gap-2 items-center mr-auto">
|
||||||
<a href="/" class="flex flex-row items-center gap-2">
|
<a href="/" class="flex flex-row items-center gap-2">
|
||||||
|
|||||||
@@ -39,10 +39,10 @@
|
|||||||
<ToastContainer />
|
<ToastContainer />
|
||||||
<Moderation />
|
<Moderation />
|
||||||
<div
|
<div
|
||||||
class="flex flex-row w-full max-w-full gap-4 divide-x dark:divide-zinc-800 divide-slate-200 flex-1"
|
class="flex flex-row w-full max-w-full gap-4 divide-x dark:divide-zinc-800 divide-slate-200"
|
||||||
>
|
>
|
||||||
<nav
|
<nav
|
||||||
class="hidden lg:flex flex-col p-4 overflow-auto sticky top-16 bottom-0 flex-1 gap-1 max-h-[calc(100vh-4rem)]"
|
class="hidden lg:flex flex-col p-4 overflow-auto sticky top-16 bottom-0 flex-1 gap-1 max-h-[calc(100vh-4rem)] w-full"
|
||||||
>
|
>
|
||||||
<Button href="/" color="tertiary" alignment="left">
|
<Button href="/" color="tertiary" alignment="left">
|
||||||
<Icon src={Home} solid size="20" />
|
<Icon src={Home} solid size="20" />
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
{/each}
|
{/each}
|
||||||
{/if}
|
{/if}
|
||||||
</nav>
|
</nav>
|
||||||
<main class="p-4 mx-auto flex-[4]">
|
<main class="p-4 mx-auto flex-[4] min-w-0 w-full">
|
||||||
<slot />
|
<slot />
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user