Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion frontend/src/components/VScrollButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const scrollToTop = () => {
<button
:aria-label="$t('browsePage.aria.scroll')"
type="button"
class="scroll fixed bottom-4 mb-4 ms-auto h-14 w-14 rounded-full bg-primary text-center text-over-dark transition-all duration-100 ease-linear hover:bg-primary-hover hover:shadow-md"
class="scroll sticky bottom-4 mb-4 ms-auto h-14 w-14 rounded-full bg-primary text-center text-over-dark transition-all duration-100 ease-linear hover:bg-primary-hover hover:shadow-md"
:class="hClass"
@click="scrollToTop"
@keydown.tab.exact="$emit('tab', $event)"
Expand Down
13 changes: 7 additions & 6 deletions frontend/src/layouts/content-layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,15 @@ provide(ShowScrollButtonKey, showScrollButton)

<div class="main-page flex h-full w-full min-w-0 flex-col justify-between">
<slot />

<VScrollButton
v-show="showScrollButton"
:is-filter-sidebar-visible="false"
data-testid="scroll-button"
/>

<VFooter mode="internal" class="border-t border-default bg-default" />
</div>

<VScrollButton
v-show="showScrollButton"
:is-filter-sidebar-visible="false"
data-testid="scroll-button"
/>
</div>
</template>

Expand Down
13 changes: 7 additions & 6 deletions frontend/src/layouts/search-layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,15 @@ provide(ShowScrollButtonKey, showScrollButton)
class="main-page flex h-full w-full min-w-0 flex-col justify-between overflow-y-auto"
>
<slot />

<VScrollButton
v-show="showScrollButton"
:is-filter-sidebar-visible="isSidebarVisible"
data-testid="scroll-button"
/>

<VFooter mode="content" class="border-t border-default bg-default" />
</div>

<VScrollButton
v-show="showScrollButton"
:is-filter-sidebar-visible="isSidebarVisible"
data-testid="scroll-button"
/>
</div>
</template>

Expand Down