design: improve posts

This commit is contained in:
James Xylight committed 2025-08-21 17:16:18 -07:00
1 parent 930bb93282
commit d3ef22dac2
10 files changed
+67 -28

No files matched your search

+5 -4
View File
@@ -134,7 +134,11 @@
{/snippet}
</Header>
<form class="accounts-grid mt-4 sm:mt-6 gap-4">
<CommonList items={profile.meta.profiles}>
<CommonList
selected={p => p.id == profile.meta.profile}
items={profile.meta.profiles}
animate={false}
>
{#snippet item(p, index)}
<label class="relative">
<input
@@ -149,9 +153,6 @@
class={[
'flex flex-row items-center gap-2 transition-all duration-75',
'cursor-pointer relative ring-transparent',
switching == p.id
? 'ring-slate-500 dark:ring-zinc-500'
: 'peer-checked:ring-primary-900 peer-checked:dark:ring-primary-100',
]}
>
<div