embedded timeline avoid shrug

This commit is contained in:
Henry Jameson 2024-12-19 14:34:54 +02:00
parent 8cc2584571
commit 5a8eae4510

View file

@ -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>