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 230cbaa commit 063273bCopy full SHA for 063273b
1 file changed
app/pages/package-code/[[org]]/[packageName]/v/[version]/[...filePath].vue
@@ -249,6 +249,7 @@ function copyPermalinkUrl() {
249
copyPermalink(url.toString())
250
}
251
252
+const { isTouchDeviceClient } = useScrollToTop()
253
// Scroll to top of file content
254
const contentContainer = useTemplateRef('contentContainer')
255
function scrollToTop() {
@@ -469,7 +470,7 @@ defineOgImageComponent('Default', {
469
470
@click="scrollToTop"
471
>
472
<span class="i-lucide:arrow-up w-3 h-3" />
- {{ $t('code.scroll_to_top') }}
473
+ {{ isTouchDeviceClient ? '' : $t('code.scroll_to_top') }}
474
</button>
475
<button
476
v-if="selectedLines"
0 commit comments