From 9b31618215c723182454624e12d9a1ea9a384c74 Mon Sep 17 00:00:00 2001
From: Mar0xy <marie@kaifa.ch>
Date: Sat, 23 Sep 2023 01:44:30 +0200
Subject: [PATCH] fix: yolo sticky header

---
 packages/frontend/src/pages/user/home.vue | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue
index 423668ba24..39f806d3a8 100644
--- a/packages/frontend/src/pages/user/home.vue
+++ b/packages/frontend/src/pages/user/home.vue
@@ -132,14 +132,15 @@ SPDX-License-Identifier: AGPL-3.0-only
 					<XActivity :key="user.id" :user="user"/>
 				</template>
 				<MkStickyContainer>
-					<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>
+					<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>
+					</template>
+					<MkNotes v-if="!disableNotes" :class="$style.tl" :noGap="true" :pagination="pagination"/>
 				</MkStickyContainer>
-				<MkNotes v-if="!disableNotes" :class="$style.tl" :noGap="true" :pagination="pagination"/>
-			</div>
 		</div>
 		<div v-if="!narrow" class="sub _gaps" style="container-type: inline-size;">
 			<XPhotos :key="user.id" :user="user"/>
-- 
GitLab