diff --git a/src/lib/components/lemmy/post/Post.svelte b/src/lib/components/lemmy/post/Post.svelte index 1302051f..91bb718f 100644 --- a/src/lib/components/lemmy/post/Post.svelte +++ b/src/lib/components/lemmy/post/Post.svelte @@ -29,14 +29,12 @@ export let view = $userSettings.view $: type = mediaType(post.post.url, view) - - let loaded = false {/if} -
c.community.id) + .includes(post.community.id) + ? 'Subscribed' + : 'NotSubscribed'} + id={post.post.id} + title={post.post.name} > -
-
- c.community.id) - .includes(post.community.id) - ? 'Subscribed' - : 'NotSubscribed'} - > - - - {#if !(post.post.embed_title == post.post.name && type == 'embed') || view == 'compact'} - - - - {/if} -
-
- -
- {#if post.post.body && !post.post.nsfw && view != 'compact'} - - {/if} -
- {#if view == 'list' || view == 'compact'} - - {/if} -
+ + + + {#if post.post.body && !post.post.nsfw && view != 'compact'} + + {/if} + {#if view == 'list' || view == 'compact'} + + {/if} {#if actions} -
- { - toast({ - content: 'The post was edited successfully.', - type: 'success', - }) - }} - /> -
+ { + toast({ + content: 'The post was edited successfully.', + type: 'success', + }) + }} + /> {/if}
diff --git a/src/lib/components/lemmy/post/PostMeta.svelte b/src/lib/components/lemmy/post/PostMeta.svelte index d16f0a79..b32fa379 100644 --- a/src/lib/components/lemmy/post/PostMeta.svelte +++ b/src/lib/components/lemmy/post/PostMeta.svelte @@ -77,7 +77,7 @@ {/if} {#if user} @@ -127,12 +127,16 @@ {/if} - {#if title && id} - - {title} - - {/if} +{#if title && id} + + {title} + +{/if}