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:
@@ -1,9 +1,3 @@
|
||||
.post-gallery {
|
||||
.post-preview-image {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.post-gallery-inline {
|
||||
.posts-container {
|
||||
overflow-x: auto;
|
||||
|
||||
@@ -40,7 +40,7 @@ article.post-preview {
|
||||
}
|
||||
|
||||
.post-preview-image {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user