Skip to content

Commit 47e5436

Browse files
feat: disable hover behavior for SVG (#592)
* feat: flatten states * Update +page.svelte * feat: disable hover behavior for SVG
1 parent 179d21c commit 47e5436

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/frontend/src/lib/svgs/complete.svelte

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1+
<script lang="ts">
2+
let { class: klass } = $props();
3+
</script>
4+
15
<svg
6+
class={klass}
27
xmlns="http://www.w3.org/2000/svg"
38
width="336px"
49
height="210px"

src/frontend/src/routes/(needs_onboarding)/(navbar_and_footer)/(ignore_slash)/download/[slug]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
class="flex flex-col items-center justify-center py-4"
168168
>
169169
<div class="mb-6 flex flex-col items-center text-muted-foreground">
170-
<CompleteSvg />
170+
<CompleteSvg class="pointer-events-none select-none" />
171171
</div>
172172

173173
<div class="flex w-full gap-3 pt-2">

0 commit comments

Comments
 (0)