fix: Fix menu origin
This commit is contained in:
1 parent
d6204b24ce
commit
11c36e5187
2 files changed
+2
-7
No files matched your search
@@ -5,12 +5,7 @@
|
||||
import Logo from '$lib/components/ui/Logo.svelte'
|
||||
import Menu from '$lib/components/ui/menu/Menu.svelte'
|
||||
import MenuButton from '$lib/components/ui/menu/MenuButton.svelte'
|
||||
import {
|
||||
DEFAULT_INSTANCE_URL,
|
||||
authData,
|
||||
instance_url,
|
||||
user,
|
||||
} from '$lib/lemmy.js'
|
||||
import { DEFAULT_INSTANCE_URL, authData, user } from '$lib/lemmy.js'
|
||||
import { Color } from '$lib/ui/colors.js'
|
||||
import {
|
||||
ArrowLeftOnRectangle,
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
function getOriginClass(origin: Origin) {
|
||||
switch (origin) {
|
||||
case 'top-right':
|
||||
return 'bottom-[100%] right-0 origin-bottom'
|
||||
return 'bottom-[100%] right-0 origin-bottom-right'
|
||||
case 'bottom-left':
|
||||
return 'top-[100%] origin-top-left'
|
||||
case 'top-left':
|
||||
|
||||
Reference in new issue
Block a user