Prevent icon picker from going off screen

This commit is contained in:
Jon Staab
2026-01-29 11:11:08 -08:00
parent e74f922e8d
commit a3c1a5c731
5 changed files with 57 additions and 20 deletions
@@ -0,0 +1,13 @@
<script lang="ts">
import IconPicker from "@app/components/IconPicker.svelte"
type Props = {
onSelect: (iconUrl: string) => void
}
const {onSelect}: Props = $props()
</script>
<div class="w-96 rounded-box bg-base-100 p-4 shadow-2xl">
<IconPicker {onSelect} />
</div>