Cache the merged media catalog and trim card rendering
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user