mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-01 16:51:13 +00:00
add static width/height for post listing thumbnails
This commit is contained in:
parent
1c759cc83b
commit
1d20aa0644
2 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue