Cache the merged media catalog and trim card rendering

This commit is contained in:
Fisto
2026-09-21 10:52:18 +02:00
parent 41732bd96f
commit 6761a2192e
5 changed files with 116 additions and 5 deletions
+6
View File
@@ -78,6 +78,12 @@
text-decoration: none;
}
/* Skip layout and paint for cards far off screen: the DOM can grow to thousands. */
.vk-media-figure {
content-visibility: auto;
contain-intrinsic-size: auto 170px;
}
.vk-media-figure {
display: flex;
flex-direction: column;