posts: fix thumbnail css.

Fix thumbnail CSS to not use `width: auto`, because that made the page
reflow. It made thumbnails start out at 0x0 size, then resize to the
actual size only after the image was loaded.
This commit is contained in:
evazion
2021-12-08 19:46:25 -06:00
parent f02b437085
commit 810df2f19c
2 changed files with 1 additions and 7 deletions

View File

@@ -1,9 +1,3 @@
.post-gallery {
.post-preview-image {
max-width: 100%;
}
}
.post-gallery-inline {
.posts-container {
overflow-x: auto;

View File

@@ -40,7 +40,7 @@ article.post-preview {
}
.post-preview-image {
width: auto;
max-width: 100%;
height: auto;
}