mirror of
https://github.com/SaphireLattice/quest-reader.git
synced 2026-11-13 02:40:36 -07:00
Implement lazy image loading (copied from freefall reader)
This commit is contained in:
7 files changed
+123
-5
No files matched your search
+4
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user