We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bda1e0 commit c7a357cCopy full SHA for c7a357c
app/components/ScrollToTop.client.vue
@@ -30,7 +30,7 @@ const shouldShowButton = computed(() => isActive.value && isTouchDeviceClient.va
30
type="button"
31
class="scroll-to-top-css fixed bottom-4 inset-ie-4 z-50 w-12 h-12 bg-bg-elevated border border-border rounded-full shadow-lg flex items-center justify-center text-fg-muted hover:text-fg transition-colors active:scale-95"
32
:aria-label="$t('common.scroll_to_top')"
33
- @click="() => scrollToTop()"
+ @click="scrollToTop"
34
>
35
<span class="i-lucide:arrow-up w-5 h-5" aria-hidden="true" />
36
</button>
0 commit comments