apply same for scrolltop button

This commit is contained in:
Henry Jameson 2022-09-28 21:17:44 +03:00
parent c041d7aa9b
commit 8c4de692f4
1 changed files with 16 additions and 14 deletions

View File

@ -5,20 +5,22 @@
v-if="!embedded" v-if="!embedded"
:timeline-name="timelineName" :timeline-name="timelineName"
/> />
<button <div class="timeline-header-button">
v-if="showScrollTop" <button
class="button-unstyled scroll-to-top-button" v-if="showScrollTop"
type="button" class="button-unstyled scroll-to-top-button"
@click="scrollToTop" type="button"
> @click="scrollToTop"
<FALayers class="fa-scale-110 fa-old-padding-layer"> >
<FAIcon icon="arrow-up" /> <FALayers class="fa-scale-110 fa-old-padding-layer">
<FAIcon <FAIcon icon="arrow-up" />
icon="minus" <FAIcon
transform="up-7" icon="minus"
/> transform="up-7"
</FALayers> />
</button> </FALayers>
</button>
</div>
<template v-if="mobileLayout && !embedded"> <template v-if="mobileLayout && !embedded">
<div <div
class="timeline-header-button" class="timeline-header-button"