diff --git a/src/lib/components/atoms/buttons/FloatingButton.svelte b/src/lib/components/atoms/buttons/FloatingButton.svelte index 67956f6..10dd4f4 100644 --- a/src/lib/components/atoms/buttons/FloatingButton.svelte +++ b/src/lib/components/atoms/buttons/FloatingButton.svelte @@ -4,12 +4,12 @@ import { AdaptiveDiv } from "$lib/components/atoms"; interface Props { + class: ClassValue; icon: Component; - offset: ClassValue; onclick?: () => void; } - let { icon: Icon, offset, onclick }: Props = $props(); + let { class: className, icon: Icon, onclick }: Props = $props();
@@ -17,11 +17,11 @@
diff --git a/src/routes/(main)/directory/[[id]]/+page.svelte b/src/routes/(main)/directory/[[id]]/+page.svelte index 592f6be..98572b3 100644 --- a/src/routes/(main)/directory/[[id]]/+page.svelte +++ b/src/routes/(main)/directory/[[id]]/+page.svelte @@ -110,11 +110,11 @@ { isEntryCreateBottomSheetOpen = true; }} + class="bottom-24 right-4" />