diff options
Diffstat (limited to 'packages/frontend/src/components/MkNotes.vue')
| -rw-r--r-- | packages/frontend/src/components/MkNotes.vue | 9 |
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> |