summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkNotes.vue
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-03-31 16:07:41 -0400
committerHazelnoot <acomputerdog@gmail.com>2025-03-31 16:07:55 -0400
commit2983092c068d62e5c9bb10ffcef36f34c885910a (patch)
treebb3c85ca8eb713ab116e5e19f108b56cea5ab4b9 /packages/frontend/src/components/MkNotes.vue
parentMerge branch 'develop' into merge/2025-03-24 (diff)
parentfix missing import (diff)
downloadsharkey-2983092c068d62e5c9bb10ffcef36f34c885910a.tar.gz
sharkey-2983092c068d62e5c9bb10ffcef36f34c885910a.tar.bz2
sharkey-2983092c068d62e5c9bb10ffcef36f34c885910a.zip
Merge branch 'misskey-develop' into merge/2025-03-24
Diffstat (limited to 'packages/frontend/src/components/MkNotes.vue')
-rw-r--r--packages/frontend/src/components/MkNotes.vue9
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/frontend/src/components/MkNotes.vue b/packages/frontend/src/components/MkNotes.vue
index bc72351552..e03251ad4f 100644
--- a/packages/frontend/src/components/MkNotes.vue
+++ b/packages/frontend/src/components/MkNotes.vue
@@ -23,10 +23,13 @@ SPDX-License-Identifier: AGPL-3.0-only
tag="div"
>
<template v-for="(note, i) in notes" :key="note.id">
- <DynamicNote :class="$style.note" :note="note" :withHardMute="true"/>
- <div v-if="note._shouldInsertAd_" :class="$style.ad">
- <MkAd :preferForms="['horizontal', 'horizontal-big']"/>
+ <div v-if="note._shouldInsertAd_" :class="[$style.noteWithAd, { '_gaps': !noGap }]">
+ <DynamicNote :class="$style.note" :note="note" :withHardMute="true"/>
+ <div :class="$style.ad">
+ <MkAd :preferForms="['horizontal', 'horizontal-big']"/>
+ </div>
</div>
+ <DynamicNote :class="$style.note" :note="note" :withHardMute="true"/>
</template>
</component>
</template>