Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/components/ScrollToTop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ onMounted(() => {
<button
v-if="isActive && supportsScrollStateQueries"
type="button"
class="scroll-to-top-css fixed bottom-4 right-4 z-50 w-12 h-12 bg-bg-elevated border border-border rounded-full shadow-lg md:hidden flex items-center justify-center text-fg-muted hover:text-fg transition-colors active:scale-95"
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 md:hidden flex items-center justify-center text-fg-muted hover:text-fg transition-colors active:scale-95"
:aria-label="$t('common.scroll_to_top')"
@click="scrollToTop"
>
<span class="i-carbon-arrow-up w-5 h-5" aria-hidden="true" />
<span class="i-carbon:arrow-up w-5 h-5" aria-hidden="true" />
</button>

<!-- JS fallback for browsers without scroll-state support -->
Expand All @@ -56,11 +56,11 @@ onMounted(() => {
<button
v-if="isActive && isMounted && isVisible"
type="button"
class="fixed bottom-4 right-4 z-50 w-12 h-12 bg-bg-elevated border border-border rounded-full shadow-lg md:hidden flex items-center justify-center text-fg-muted hover:text-fg transition-colors active:scale-95"
class="fixed bottom-4 inset-ie-4 z-50 w-12 h-12 bg-bg-elevated border border-border rounded-full shadow-lg md:hidden flex items-center justify-center text-fg-muted hover:text-fg transition-colors active:scale-95"
:aria-label="$t('common.scroll_to_top')"
@click="scrollToTop"
>
<span class="i-carbon-arrow-up w-5 h-5" aria-hidden="true" />
<span class="i-carbon:arrow-up w-5 h-5" aria-hidden="true" />
</button>
</Transition>
</template>
Expand Down
Loading