diff --git a/src/lib/components/lemmy/post/Post.svelte b/src/lib/components/lemmy/post/Post.svelte index 2f72c2fa..e2e0927b 100644 --- a/src/lib/components/lemmy/post/Post.svelte +++ b/src/lib/components/lemmy/post/Post.svelte @@ -15,34 +15,62 @@ - - - {post.post.name} - - {#if post.post.url && !post.post.thumbnail_url} - - {post.post.url} - - {/if} - {#if isImage(post.post.url)} -
+
+ + {#if $userSettings.showCompactPosts && (post.post.thumbnail_url || isImage(post.post.url))} + + {/if} +
+ {#if !$userSettings.showCompactPosts} + {#if post.post.url && !post.post.thumbnail_url} + + {post.post.url} + + {/if} + {#if isImage(post.post.url)} +
@@ -67,21 +95,22 @@ height={300} /> -
- {:else if post.post.thumbnail_url && post.post.url} - - {/if} - {#if post.post.body && !post.post.nsfw} -

- {post.post.body} -

+
+ {:else if post.post.thumbnail_url && post.post.url} + + {/if} + {#if post.post.body && !post.post.nsfw} +

+ {post.post.body} +

+ {/if} {/if} + + Show compact posts + Show posts with smaller thumbnails and without text bodies. + +