diff --git a/src/assets/css/main.css b/src/assets/css/main.css index b92f0866..36566b9b 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -204,6 +204,11 @@ blockquote { height: 5rem; } +.mobile-thumbnail-container .thumbnail { + width: 100%; + height: auto; +} + .thumbnail svg { height: 1.25rem; width: 1.25rem; diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index d9b3ad28..eb4dc8d9 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -1327,10 +1327,10 @@ export class PostListing extends Component { const post = this.postView.post; return post.thumbnail_url || (post.url && isImage(post.url)) ? (
-
+
{this.postTitleLine()}
-
+
{/* Post thumbnail */} {!this.state.imageExpanded && this.thumbnail()}