fix: yolo sticky header

This commit is contained in:
Mar0xy 2023-09-23 01:44:30 +02:00
parent 9a22ba4bfe
commit 9b31618215
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
1 changed files with 8 additions and 7 deletions

View File

@ -132,14 +132,15 @@ SPDX-License-Identifier: AGPL-3.0-only
<XActivity :key="user.id" :user="user"/>
</template>
<MkStickyContainer>
<template #header>
<MkTab v-model="noteview" :class="$style.tab">
<option :value="null">{{ i18n.ts.notes }}</option>
<option value="replies">{{ i18n.ts.notesAndReplies }}</option>
<option value="files">{{ i18n.ts.withFiles }}</option>
</MkTab>
</MkStickyContainer>
</template>
<MkNotes v-if="!disableNotes" :class="$style.tl" :noGap="true" :pagination="pagination"/>
</div>
</MkStickyContainer>
</div>
<div v-if="!narrow" class="sub _gaps" style="container-type: inline-size;">
<XPhotos :key="user.id" :user="user"/>