diff --git a/src/lib/components/common/Dropdown.svelte b/src/lib/components/common/Dropdown.svelte index 89d6b694..e8284a50 100644 --- a/src/lib/components/common/Dropdown.svelte +++ b/src/lib/components/common/Dropdown.svelte @@ -2,6 +2,8 @@ import { DropdownMenu } from 'bits-ui'; import { createEventDispatcher } from 'svelte'; + import { flyAndScale } from '$lib/utils/transitions'; + const dispatch = createEventDispatcher(); @@ -20,6 +22,7 @@ sideOffset={8} side="bottom" align="start" + transition={flyAndScale} >
Profile
diff --git a/src/lib/components/common/Modal.svelte b/src/lib/components/common/Modal.svelte index f223b823..038fa48d 100644 --- a/src/lib/components/common/Modal.svelte +++ b/src/lib/components/common/Modal.svelte @@ -2,6 +2,8 @@ import { onMount } from 'svelte'; import { fade } from 'svelte/transition'; + import { flyAndScale } from '$lib/utils/transitions'; + export let show = true; export let size = 'md'; @@ -41,10 +43,10 @@ }} >