misc: design fixes

This commit is contained in:
James Xylight committed 2025-08-17 15:56:36 -07:00
1 parent 52f3b9da2a
commit bf0d4cf238
12 files changed
+87 -65

No files matched your search

-9
View File
@@ -64,9 +64,6 @@
{#snippet title()}
<span class="flex items-center gap-1 py-1 px-2 w-full">
{$t('cards.site.about')}
<hr
class="w-full flex-1 ml-1 border-slate-200 dark:border-zinc-800"
/>
</span>
{/snippet}
<Markdown source={site.site.description} />
@@ -88,9 +85,6 @@
{#snippet title()}
<span class="flex items-center gap-1 py-1 px-2 w-full">
{$t('cards.site.stats')}
<hr
class="w-full flex-1 ml-1 border-slate-200 dark:border-zinc-800"
/>
</span>
{/snippet}
<div class="flex flex-row gap-4 flex-wrap">
@@ -118,9 +112,6 @@
{#snippet title()}
<span class="flex items-center gap-1 py-1 px-2 w-full">
{$t('cards.site.admins')}
<hr
class="w-full flex-1 ml-1 border-slate-200 dark:border-zinc-800"
/>
</span>
{/snippet}
<ItemList
@@ -108,11 +108,11 @@
<Button
size="custom"
rounding="xl"
class="w-8.5 h-8.5"
class="w-7.5 h-7.5"
color={language != undefined ? 'primary' : 'ghost'}
title={$t('form.profile.languages.title')}
>
<Icon src={Language} size="16" micro />
<Icon src={Language} size="14" micro />
</Button>
{/snippet}
@@ -88,7 +88,9 @@
<div
class="flex flex-col overflow-hidden whitespace-nowrap flex-1 min-w-0 shrink"
>
<div class="font-medium text-base overflow-hidden text-ellipsis">
<div
class="font-medium text-base overflow-hidden text-ellipsis leading-5"
>
<span>{community.community.title}</span>
{#if community.community.deleted}
<Icon
@@ -128,7 +130,7 @@
{/if}
</div>
<div
class="text-sm text-slate-600 dark:text-zinc-400 flex gap-0.5"
class="text-sm text-slate-500 dark:text-zinc-500 flex gap-0.5"
class:justify-center={view == 'cozy'}
>
<span class="overflow-hidden text-ellipsis">