+ {
onClick(e)
}}
@@ -153,8 +151,8 @@
bind:post={post.post}
bind:type
class="{$userSettings.leftAlign
- ? 'mr-2'
- : 'ml-2'} flex-shrink no-list-margin"
+ ? 'mr-3'
+ : 'ml-3'} flex-shrink no-list-margin"
style="grid-area: media;"
{view}
/>
@@ -191,27 +189,35 @@
group-focus:inset-y-0.5 group-focus:-inset-x-4 group-focus:sm:-inset-x-5 group-focus:opacity-100
duration-150"
/>
-
+
diff --git a/src/lib/components/lemmy/post/PostActions.svelte b/src/lib/components/lemmy/post/PostActions.svelte
index ab2007f8..94052407 100644
--- a/src/lib/components/lemmy/post/PostActions.svelte
+++ b/src/lib/components/lemmy/post/PostActions.svelte
@@ -80,8 +80,8 @@
let localShare = false
- $: buttonHeight = view == 'compact' ? 'h-[30px]' : 'h-8'
- $: buttonSquare = view == 'compact' ? 'w-[30px] h-[30px]' : 'w-8 h-8'
+ $: buttonHeight = view == 'compact' ? 'h-7' : 'h-8'
+ $: buttonSquare = view == 'compact' ? 'w-7 h-7' : 'w-8 h-8'
{#if editing}
diff --git a/src/lib/components/lemmy/post/PostMeta.svelte b/src/lib/components/lemmy/post/PostMeta.svelte
index 394dc676..68982fe0 100644
--- a/src/lib/components/lemmy/post/PostMeta.svelte
+++ b/src/lib/components/lemmy/post/PostMeta.svelte
@@ -115,6 +115,7 @@
class="grid w-full meta {community
? 'grid-rows-2'
: 'grid-rows-1'} text-xs min-w-0 max-w-full"
+ class:compact={view == 'compact'}
style={$$props.style ?? ''}
>
{#if showCommunity && community && subscribed}
@@ -126,7 +127,7 @@
>
@@ -145,42 +146,44 @@
{/if}
-
- {#if user}
-
-
-
- {#if badges.moderator}
-
- {/if}
- {#if badges.admin}
-
- {/if}
-
-
-
- {/if}
- {#if published}
-
- {/if}
- {#if edited}
-
-
-
- {/if}
-
+ {#if view != 'compact'}
+
+ {#if user}
+
+
+
+ {#if badges.moderator}
+
+ {/if}
+ {#if badges.admin}
+
+ {/if}
+
+
+
+ {/if}
+ {#if published}
+
+ {/if}
+ {#if edited}
+
+
+
+ {/if}
+
+ {/if}
{#if posts?.length == 0}
diff --git a/src/lib/components/lemmy/post/feed/VirtualFeed.svelte b/src/lib/components/lemmy/post/feed/VirtualFeed.svelte
index 7c7470a0..37265f19 100644
--- a/src/lib/components/lemmy/post/feed/VirtualFeed.svelte
+++ b/src/lib/components/lemmy/post/feed/VirtualFeed.svelte
@@ -214,14 +214,6 @@
class="flex flex-col list-none {$userSettings.view == 'card'
? 'gap-3 md:gap-4'
: 'divide-y'} divide-slate-200 dark:divide-zinc-800"
- style={$userSettings.leftAlign
- ? `--template-areas:
-'media meta'
-'media title'
-'media body'
-'embed embed'
-'actions actions'; --template-columns: auto 1fr;`
- : ``}
>
{#if posts?.length == 0}
diff --git a/src/lib/components/lemmy/post/link/PostLink.svelte b/src/lib/components/lemmy/post/link/PostLink.svelte
index 21b20e96..742433cb 100644
--- a/src/lib/components/lemmy/post/link/PostLink.svelte
+++ b/src/lib/components/lemmy/post/link/PostLink.svelte
@@ -31,7 +31,7 @@
color="distinct"
class="flex flex-col-reverse sm:flex-row
overflow-hidden gap-4 embed-card z-0 relative
- dark:border-t-zinc-800 border-opacity-80"
+ dark:border-t-zinc-800 border-opacity-80 max-w-full"
rounding="xl"
element="article"
>
@@ -125,7 +125,7 @@
{:else}
-