fix issue with thumbnails (#1695)
authorAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Thu, 29 Jun 2023 13:34:47 +0000 (09:34 -0400)
committerGitHub <noreply@github.com>
Thu, 29 Jun 2023 13:34:47 +0000 (09:34 -0400)
src/shared/components/post/post-listing.tsx

index ae6e2f3b7acd361daddda4a904fb3499157c15aa..586403be97c97199d48681594272408165b2a241 100644 (file)
@@ -333,7 +333,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
       return (
         <button
           type="button"
-          className="thumbnail rounded overflow-hidden d-inline-block position-relative mb-2 p-0 border-0"
+          className="thumbnail rounded overflow-hidden d-inline-block position-relative p-0 border-0"
           data-tippy-content={I18NextService.i18n.t("expand_here")}
           onClick={linkEvent(this, this.handleImageExpandClick)}
           aria-label={I18NextService.i18n.t("expand_here")}
@@ -348,7 +348,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
     } else if (!this.props.hideImage && url && thumbnail && this.imageSrc) {
       return (
         <a
-          className="thumbnail rounded bg-light d-flex justify-content-center"
+          className="thumbnail rounded overflow-hidden d-inline-block position-relative p-0 border-0"
           href={url}
           rel={relTags}
           title={url}