perf(frontend/css): MkNote 及び MkNotification に content-visibility を適用 (MisskeyIO#892)

This commit is contained in:
あわわわとーにゅ 2025-01-16 23:05:02 +09:00 committed by GitHub
parent cbe80fdd26
commit 6993e5b7fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 7 deletions

View File

@ -569,13 +569,8 @@ function emitUpdReaction(emoji: string, delta: number) {
overflow: clip;
contain: content;
//
//
// contain-intrinsic-size
//
// ()
//content-visibility: auto;
//contain-intrinsic-size: 0 128px;
content-visibility: auto;
contain-intrinsic-size: auto none auto 128px;
&:focus-visible {
outline: none;

View File

@ -218,6 +218,9 @@ function getActualReactedUsersCount(notification: Misskey.entities.Notification)
overflow-wrap: break-word;
display: flex;
contain: content;
content-visibility: auto;
contain-intrinsic-size: auto none auto 100px;
}
.head {