Skip to content

Commit fdd9cb8

Browse files
authored
PLANET-5729 Add content-visibility to lazy load below the fold elements (#2804)
This commit adds it to the footer and the Related Posts
1 parent 6982fc0 commit fdd9cb8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

assets/src/scss/layout/_footer.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
color: var(--white);
66
line-height: 0;
77
}
8+
content-visibility: auto;
89
position: relative;
910
z-index: 2;
1011
text-align: center;

assets/src/scss/pages/post/_post.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
}
8585

8686
.post-articles-block {
87+
content-visibility: auto;
8788
margin-top: $sp-4;
8889

8990
.posts-list {

0 commit comments

Comments
 (0)