skipRender

This commit is contained in:
fly_mc 2024-11-10 01:59:17 +08:00
parent ec500ccdae
commit f38364b82b
2 changed files with 9 additions and 14 deletions

View file

@ -790,7 +790,7 @@ function emitUpdReaction(emoji: string, delta: number) {
.skipRender {
content-visibility: auto;
contain-intrinsic-size: 0 180px;
contain-intrinsic-size: 0 200px;
}
.tip {

View file

@ -9,7 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-only
v-show="!isDeleted"
ref="rootEl"
v-hotkey="keymap"
:class="[$style.root, { [$style.skipRender]: defaultStore.state.enableRenderingOptimization }]"
:class="$style.root"
:tabindex="isDeleted ? '-1' : '0'"
>
<div v-if="appearNote.reply && appearNote.reply.replyId">
@ -707,11 +707,6 @@ onMounted(() => {
}
}
.skipRender {
content-visibility: auto;
contain-intrinsic-size: 0 180px;
}
.footer {
display: flex;
align-items: center;