mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-24 07:06:44 -06:00
skipRender
This commit is contained in:
parent
ec500ccdae
commit
f38364b82b
2 changed files with 9 additions and 14 deletions
|
@ -15,13 +15,13 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
|
||||
<div v-if="collapsedUnexpectedLangs && isUnexpectedLanguage && !languageExpanded && !isRenote" :class="$style.collapsedLanguage">
|
||||
<MkAvatar :class="$style.collapsedLanguageAvatar" :user="appearNote.user" link preview/>
|
||||
<Mfm
|
||||
:text="getNoteSummary(appearNote)"
|
||||
:plain="true"
|
||||
:nowrap="true"
|
||||
:author="appearNote.user"
|
||||
:nyaize="'respect'"
|
||||
:class="$style.collapsedLanguageText"
|
||||
<Mfm
|
||||
:text="getNoteSummary(appearNote)"
|
||||
:plain="true"
|
||||
:nowrap="true"
|
||||
:author="appearNote.user"
|
||||
:nyaize="'respect'"
|
||||
:class="$style.collapsedLanguageText"
|
||||
@click.stop="languageExpanded = true"
|
||||
/>
|
||||
</div>
|
||||
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue