design: improve layout further
This commit is contained in:
1 parent
868deff7f4
commit
850d2b480d
7 files changed
+27
-18
No files matched your search
@@ -34,8 +34,8 @@
|
||||
dark:bg-black {scrollY > 0
|
||||
? 'bg-slate-100/80 dark:bg-black/80'
|
||||
: ''} backdrop-blur-3xl
|
||||
w-full mx-auto px-4 py-2 z-50 border-b transition-all
|
||||
border-slate-200 dark:border-zinc-900 box-border h-16"
|
||||
w-full mx-auto px-4 py-2 z-50 transition-all
|
||||
box-border h-16"
|
||||
>
|
||||
<div class="flex flex-row gap-2 items-center mr-auto">
|
||||
<a href="/" class="flex flex-row items-center gap-2">
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<nav
|
||||
class="hidden xl:flex flex-col pl-4 pr-4 py-4 overflow-auto sticky top-16 bottom-0
|
||||
flex-1 gap-1 max-h-[calc(100vh-4rem)] w-full bg-black"
|
||||
>
|
||||
<slot />
|
||||
</nav>
|
||||
@@ -1,8 +1,7 @@
|
||||
<aside
|
||||
class="sticky top-20 border bg-white border-slate-200
|
||||
dark:border-zinc-800 dark:bg-zinc-900 break-words flex
|
||||
flex-col gap-4 p-6 w-[22rem] rounded-md h-max max-h-[calc(100vh-6rem)]
|
||||
overflow-auto text-sm {$$props.class}"
|
||||
class="sticky top-0 break-words flex
|
||||
flex-col gap-4 p-6 w-96 max-h-[calc(100vh-4rem)]
|
||||
overflow-auto text-sm border-l border-slate-200 dark:border-zinc-800 {$$props.class}"
|
||||
>
|
||||
<slot />
|
||||
</aside>
|
||||
Reference in new issue
Block a user