Implement lazy image loading (copied from freefall reader)

This commit is contained in:
Saphire committed 2022-02-21 16:36:27 +07:00
1 parent 10ab7fa470
commit fc8bf49ad9
7 files changed
+123 -5

No files matched your search

+4 -2
View File
@@ -115,17 +115,19 @@ a:visited {
}
.post-image {
margin: 0;
margin: 0 0 1rem;
align-self: center;
/* Note: make sure to check this does not break main.ts if changed! */
max-width: 95%;
}
.post-image img {
max-width: 100%;
display: block;
}
.post-text {
padding: 16px 40px;
padding: 0 40px 16px;
}