logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/
commit: 5a8eae451090ded3c8691eb3115080a79b3c5bd9
parent 8cc25845712be524660f5875d9ce3cc0817dd889
Author: Henry Jameson <me@hjkos.com>
Date:   Thu, 19 Dec 2024 14:34:54 +0200

embedded timeline avoid shrug

Diffstat:

Msrc/components/timeline/timeline.vue14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue @@ -1,12 +1,12 @@ <template> <div :class="['Timeline', classes.root]"> - <div :class="classes.header"> + <div :class="classes.header" v-if="!embedded"> <TimelineMenu v-if="!embedded" :timeline-name="timelineName" /> <div - v-if="showScrollTop && !embedded" + v-if="showScrollTop" class="rightside-button" > <button @@ -24,7 +24,7 @@ </FALayers> </button> </div> - <template v-if="mobileLayout && !embedded"> + <template v-if="mobileLayout"> <div v-if="showLoadButton" class="rightside-button" @@ -44,7 +44,7 @@ </button> </div> <div - v-else-if="!embedded" + v-else class="loadmore-text faint veryfaint rightside-icon" :title="$t('timeline.up_to_date')" :aria-disabled="true" @@ -65,7 +65,7 @@ {{ loadButtonString }} </button> <div - v-else-if="!embedded" + v-else class="loadmore-text faint" @click.prevent > @@ -73,11 +73,9 @@ </div> </template> <QuickFilterSettings - v-if="!embedded" class="rightside-button" /> <QuickViewSettings - v-if="!embedded" class="rightside-button" /> </div> @@ -148,6 +146,8 @@ /> </div> </teleport> + <!-- spacer to avoid having empty shrug --> + <span v-if="embedded && footerSlipgate" /> </div> </div> </template>