fix: yolo sticky header
This commit is contained in:
parent
9a22ba4bfe
commit
9b31618215
1 changed files with 8 additions and 7 deletions
|
@ -132,14 +132,15 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<XActivity :key="user.id" :user="user"/>
|
<XActivity :key="user.id" :user="user"/>
|
||||||
</template>
|
</template>
|
||||||
<MkStickyContainer>
|
<MkStickyContainer>
|
||||||
|
<template #header>
|
||||||
<MkTab v-model="noteview" :class="$style.tab">
|
<MkTab v-model="noteview" :class="$style.tab">
|
||||||
<option :value="null">{{ i18n.ts.notes }}</option>
|
<option :value="null">{{ i18n.ts.notes }}</option>
|
||||||
<option value="replies">{{ i18n.ts.notesAndReplies }}</option>
|
<option value="replies">{{ i18n.ts.notesAndReplies }}</option>
|
||||||
<option value="files">{{ i18n.ts.withFiles }}</option>
|
<option value="files">{{ i18n.ts.withFiles }}</option>
|
||||||
</MkTab>
|
</MkTab>
|
||||||
</MkStickyContainer>
|
</template>
|
||||||
<MkNotes v-if="!disableNotes" :class="$style.tl" :noGap="true" :pagination="pagination"/>
|
<MkNotes v-if="!disableNotes" :class="$style.tl" :noGap="true" :pagination="pagination"/>
|
||||||
</div>
|
</MkStickyContainer>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="!narrow" class="sub _gaps" style="container-type: inline-size;">
|
<div v-if="!narrow" class="sub _gaps" style="container-type: inline-size;">
|
||||||
<XPhotos :key="user.id" :user="user"/>
|
<XPhotos :key="user.id" :user="user"/>
|
||||||
|
|
Loading…
Reference in a new issue