Browse Source

fix: unselectable sidebar

Co-Authored-By: Javier Leandro Arancibia <arancibiajav@gmail.com>
Co-Authored-By: Maksym Dmukhovskyy <25328501+maxdyy@users.noreply.github.com>
Timothy J. Baek 11 months ago
parent
commit
aaaef3efd8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/components/layout/Sidebar.svelte

+ 1 - 1
src/lib/components/layout/Sidebar.svelte

@@ -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
         "