fix: double thumbnails in list view
This commit is contained in:
1 parent
429a140ad7
commit
1e9eed0407
1 file changed
+1
-1
@@ -157,7 +157,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{#if ($userSettings.view == 'list' || $userSettings.view == 'compact') && (post.post.thumbnail_url || isImage(post.post.url))}
|
{#if (view == 'list' || view == 'compact') && !post.post.embed_title && (post.post.thumbnail_url || isImage(post.post.url))}
|
||||||
<div class="flex-shrink-0 w-24 h-24">
|
<div class="flex-shrink-0 w-24 h-24">
|
||||||
{#if !$userSettings.expandImages || (post.post.thumbnail_url && !isImage(post.post.url))}
|
{#if !$userSettings.expandImages || (post.post.thumbnail_url && !isImage(post.post.url))}
|
||||||
<a href={postLink(post.post)}>
|
<a href={postLink(post.post)}>
|
||||||
|
|||||||
Reference in new issue
Block a user