Merge remote-tracking branch 'origin/main' into piefed-3

This commit is contained in:
James Xylight committed 2025-09-05 22:28:22 -07:00
commit aa270be722
25 files changed
+164 -110

No files matched your search

@@ -54,7 +54,7 @@
<div class={clazz}>
<div
class={[
view == 'cozy' ? 'flex-col gap-2 items-center' : 'flex-row',
view == 'cozy' ? 'flex-col gap-2' : 'flex-row',
'flex max-w-full w-full',
]}
>
@@ -63,7 +63,7 @@
community.community.name,
community.community.actor_id,
)}"
class="flex-1 w-full overflow-hidden"
class="flex-1 w-full overflow-hidden group"
data-sveltekit-preload-data="tap"
>
<div class="flex flex-row gap-2 items-center">
@@ -88,7 +88,9 @@
<div
class="font-medium text-base overflow-hidden text-ellipsis leading-5"
>
<span>{community.community.title}</span>
<h3 class="group-hover:underline text-left">
{community.community.title}
</h3>
{#if community.community.deleted}
<Icon
src={Trash}
@@ -126,10 +128,7 @@
/>
{/if}
</div>
<div
class="text-sm text-slate-500 dark:text-zinc-500 flex gap-0.5"
class:justify-center={view == 'cozy'}
>
<div class="text-sm text-slate-500 dark:text-zinc-500 flex gap-0.5">
<span class="overflow-hidden text-ellipsis">
{new URL(community.community.actor_id).hostname}
</span>
+1 -1
View File
@@ -78,7 +78,7 @@
-->
<article
class={[
'relative cursor-pointer group/post',
'relative group/post',
settings.leftAlign && 'left-align',
view == 'compact' && 'py-3 list-type compact',
view == 'cozy' && 'py-5 flex flex-col gap-2',
@@ -342,7 +342,7 @@
<h3
class={[
'max-sm:m-0!',
'font-medium text-balance max-w-xl',
'font-medium',
titleClass,
settings.markReadPosts && read && 'text-slate-600 dark:text-zinc-400',
view == 'compact' ? 'text-base' : 'text-lg',
@@ -314,10 +314,11 @@
<div class="flex flex-col gap-1">
<span class="font-medium text-sm">{$t('form.post.community')}</span>
<Button
class="w-full bg-white! dark:bg-black! h-[38px]"
class="w-full"
onclick={() => (data.community = null)}
alignment="left"
size="sm"
rounding="xl"
>
{#snippet prefix()}
<Avatar
@@ -327,7 +328,7 @@
/>
{/snippet}
<div class="flex flex-col gap-0">
<span class="text-xs">{data.community.name}</span>
<span class="text-sm">{data.community.name}</span>
<span class="text-[10px] leading-3">
{new URL(data.community.actor_id).hostname}
</span>