Ver Fonte

refac: user menu alignment

Timothy Jaeryang Baek há 3 meses atrás
pai
commit
414ab51d5d
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/lib/components/layout/Sidebar/UserMenu.svelte

+ 2 - 2
src/lib/components/layout/Sidebar/UserMenu.svelte

@@ -66,8 +66,8 @@
 		<DropdownMenu.Content
 			class="w-full {className}  rounded-2xl px-1 py-1  border border-gray-100  dark:border-gray-800 z-50 bg-white dark:bg-gray-850 dark:text-white shadow-lg text-sm"
 			sideOffset={4}
-			side="bottom"
-			align="start"
+			side="top"
+			align="end"
 			transition={(e) => fade(e, { duration: 100 })}
 		>
 			<DropdownMenu.Item