diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index babb860..e0ddd31 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 61acb01..5af8a0f 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; +}