]> Untitled Git - lemmy.git/commitdiff
Offsetting image.
authorDessalines <tyhou13@gmx.com>
Sun, 18 Aug 2019 02:17:12 +0000 (19:17 -0700)
committerDessalines <tyhou13@gmx.com>
Sun, 18 Aug 2019 02:17:12 +0000 (19:17 -0700)
ui/src/components/post-listing.tsx

index d386f9a8df80ce1ada23232b18ec990a7735ac72..401da0e33f4e2ea921591d4afba48459f88c15de 100644 (file)
@@ -69,7 +69,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
           </div>
         </div>
         {post.url && isImage(post.url) &&
-          <span title={i18n.t('expand_here')} class="pointer" onClick={linkEvent(this, this.handleImageExpandClick)}><img class="mx-2 float-left img-fluid thumbnail rounded" src={post.url} /></span>
+          <span title={i18n.t('expand_here')} class="pointer" onClick={linkEvent(this, this.handleImageExpandClick)}><img class="mx-2 mt-1 float-left img-fluid thumbnail rounded" src={post.url} /></span>
         }
         <div className="ml-4">
           <div>