diff --git a/src/routes/dialog/index.svelte b/src/routes/dialog/index.svelte index bc75b26..6f3215c 100644 --- a/src/routes/dialog/index.svelte +++ b/src/routes/dialog/index.svelte @@ -10,6 +10,15 @@ import Portal from "$lib/components/portal/Portal.svelte"; import MenuItems from "$lib/components/menu/MenuItems.svelte"; import MenuItem from "$lib/components/menu/MenuItem.svelte"; + import { createPopperActions } from "svelte-popperjs"; + + const [popperRef, popperContent] = createPopperActions(); + const popperOptions = { + placement: "bottom-end", + strategy: "fixed", + modifiers: [{ name: "offset", options: { offset: [0, 10] } }], + }; + function classNames(...classes) { return classes.filter(Boolean).join(" "); } @@ -113,6 +122,7 @@ Choose a reason @@ -131,67 +141,70 @@ - -
-

Signed in as

-

- tom@example.com -

-
+ + +
+

Signed in as

+

+ tom@example.com +

+
-
- - Account settings - - - Support - - - New feature (soon) - - - License - -
+
+ + Account settings + + + Support + + + New feature (soon) + + + License + +
-
- - Sign out - -
-
+
+ + Sign out + +
+
+