refac: sidebar styling

This commit is contained in:
Timothy J. Baek 2024-04-30 16:58:07 -07:00
parent d513629984
commit a01fd15812

View file

@ -165,7 +165,7 @@
id="sidebar" id="sidebar"
class="h-screen max-h-[100dvh] min-h-screen {$showSidebar class="h-screen max-h-[100dvh] min-h-screen {$showSidebar
? 'lg:relative w-[260px]' ? 'lg:relative w-[260px]'
: '-translate-x-[260px] w-[0px]'} bg-gray-50 text-gray-900 dark:bg-gray-950 dark:text-gray-200 text-sm transition fixed z-50 top-0 left-0 : '-translate-x-[260px] w-[0px]'} bg-gray-50 text-gray-900 dark:bg-gray-950 dark:text-gray-200 text-sm transition fixed z-50 top-0 left-0 rounded-r-2xl
" "
data-state={$showSidebar} data-state={$showSidebar}
> >