add static width/height for post listing thumbnails

This commit is contained in:
Alec Armbruster 2023-06-27 17:31:00 -04:00
parent 1c759cc83b
commit 1d20aa0644
No known key found for this signature in database
GPG key ID: 52BC7C84E960FD1B
2 changed files with 4 additions and 4 deletions

View file

@ -198,9 +198,9 @@ blockquote {
.thumbnail {
object-fit: cover;
aspect-ratio: 4/3;
width: 100%;
max-height: 6rem;
aspect-ratio: 1/1;
width: 5rem;
height: 5rem;
}
.thumbnail svg {

View file

@ -1433,7 +1433,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
)}
<div className="col flex-grow-1">
<div className="row">
<div className="col-sm-3 col-lg-2 pe-0 post-media">
<div className="col-auto pe-0 post-media">
<div className="">{this.thumbnail()}</div>
</div>
<div className="col-12 col-sm-9 col-lg-10">