From 3f1becf792f52f7723739f37f52b68b08f5a96b7 Mon Sep 17 00:00:00 2001 From: Xyphyn Date: Wed, 9 Aug 2023 11:19:45 -0700 Subject: [PATCH] feat: add ability to click on images, close #86 --- src/lib/components/lemmy/post/Post.svelte | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/components/lemmy/post/Post.svelte b/src/lib/components/lemmy/post/Post.svelte index aef83734..55e7a140 100644 --- a/src/lib/components/lemmy/post/Post.svelte +++ b/src/lib/components/lemmy/post/Post.svelte @@ -72,7 +72,12 @@ {/if} {#if isImage(post.post.url)} -
+ + @@ -94,7 +99,7 @@ class:blur-3xl={post.post.nsfw} /> -
+ {:else if post.post.thumbnail_url && post.post.url}