From 6b496f43f5e4e33b24c7f55806e5dc340dbdaac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Mu=C3=B1oz?= Date: Wed, 2 Aug 2023 17:37:16 -0400 Subject: [PATCH] Rearrange post meta for better alignment in compact post view (#63) * Compact post view: Allow post meta to fill the card & align post title with thumbnail * misc: fix gap --------- Co-authored-by: zamuz <> Co-authored-by: Xyphyn --- src/lib/components/lemmy/post/Post.svelte | 55 ++++++++++++----------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/src/lib/components/lemmy/post/Post.svelte b/src/lib/components/lemmy/post/Post.svelte index c68b78ff..d4efbaa5 100644 --- a/src/lib/components/lemmy/post/Post.svelte +++ b/src/lib/components/lemmy/post/Post.svelte @@ -16,31 +16,32 @@ -
- - {#if $userSettings.showCompactPosts && (post.post.thumbnail_url || 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}