Skip to content

Commit 265573e

Browse files
author
Sebastian Flick
committed
use popups instead of detail
1 parent b7c625c commit 265573e

File tree

2 files changed

+164
-103
lines changed

2 files changed

+164
-103
lines changed

src/routes/+layout.svelte

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
import { afterNavigate } from '$app/navigation';
1313
import { page } from '$app/stores';
1414
import { base } from '$app/paths';
15+
import { computePosition, autoUpdate, offset, shift, flip, arrow } from '@floating-ui/dom';
16+
import { storePopup } from '@skeletonlabs/skeleton';
17+
storePopup.set({ computePosition, autoUpdate, offset, shift, flip, arrow });
1518
1619
// Scroll to top on page change (is needed because of skeleton app shell)
1720
afterNavigate((/** @type import('@sveltejs/kit').AfterNavigate */ params) => {

0 commit comments

Comments
 (0)