fix: 広告を挿入するときにノートが分裂しないようにする

This commit is contained in:
Kisaragi
2025-04-20 18:08:55 +09:00
committed by GitHub
parent 0a604285a0
commit 243361cc12

View File

@@ -25,7 +25,6 @@ SPDX-License-Identifier: AGPL-3.0-only
>
<template v-for="(note, i) in notes" :key="note.id">
<div v-if="note._shouldInsertAd_" :class="[$style.noteWithAd, { '_gaps': !noGap }]" :data-scroll-anchor="note.id">
<MkNote :class="$style.note" :note="note" :withHardMute="true"/>
<div :class="$style.ad">
<MkAd :preferForms="['horizontal', 'horizontal-big']"/>
</div>