logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 8c4de692f462552a7416540392df0f2a260fe817
parent c041d7aa9b148e829a7539c2c2bd47814f4b10ce
Author: Henry Jameson <me@hjkos.com>
Date:   Wed, 28 Sep 2022 21:17:44 +0300

apply same for scrolltop button

Diffstat:

Msrc/components/timeline/timeline.vue30++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)

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