This commit is contained in:
Xyphyn committed 2023-08-02 13:07:33 -07:00
1 parent 448c9e66e3
commit 19dbd4c338
4 files changed
+7 -8

No files matched your search

+3 -4
View File
@@ -19,10 +19,9 @@
</script>
<nav
class="hidden lg:flex flex-col pl-4 pr-4 py-4 overflow-auto sticky top-16 bottom-0
gap-1 max-h-[calc(100vh-4rem)] w-full bg-slate-100 dark:bg-black"
class:flex-1={expanded}
class:w-max={!expanded}
class="hidden sm:flex flex-col pl-4 pr-4 py-4 overflow-auto sticky top-16 bottom-0
gap-1 max-h-[calc(100vh-4rem)] w-full bg-slate-100 dark:bg-black
{expanded ? 'w-1/4 resize-x min-w-[12rem] max-w-2xl' : 'w-max max-w-max'}"
>
<Button
on:click={() => (expanded = !expanded)}