diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index babb8605d..e0ddd3105 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -66,6 +66,9 @@ export class PostListing extends Component { + {post.url && isImage(post.url) && + + }
{post.url ?
@@ -86,7 +89,7 @@ export class PostListing extends Component { -
- +
} diff --git a/ui/src/css/main.css b/ui/src/css/main.css index 61acb014c..5af8a0f55 100644 --- a/ui/src/css/main.css +++ b/ui/src/css/main.css @@ -95,3 +95,8 @@ blockquote { .new-comments:hover { overflow-y: auto; } + +.thumbnail { + max-height: 50px; + max-width: 50px; +}