fix: unselectable sidebar

Co-Authored-By: Javier Leandro Arancibia <arancibiajav@gmail.com>
Co-Authored-By: Maksym Dmukhovskyy <25328501+maxdyy@users.noreply.github.com>
This commit is contained in:
Timothy J. Baek 2024-05-14 21:29:22 -10:00
parent 5079d5ec87
commit aaaef3efd8

View File

@ -206,7 +206,7 @@
<div
bind:this={navElement}
id="sidebar"
class="h-screen max-h-[100dvh] min-h-screen {$showSidebar
class="h-screen max-h-[100dvh] min-h-screen select-none {$showSidebar
? '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 rounded-r-2xl
"