fix: increase avatar sizes for newest citizens on index and register; add Enter button below avatar on /me
Deploy / release (push) Skipped
Deploy / deploy (push) Successful in 1m51s

This commit is contained in:
openhands committed 2026-07-26 12:53:14 +02:00
1 parent 4e2c4ccf07
commit 7253bb61be
3 files changed
+29 -10

No files matched your search

+5 -5
View File
@@ -292,20 +292,20 @@ export default async function Home() {
{tp("latestUsers", { count: users.toLocaleString() })}
</h2>
</div>
<div className="grid grid-cols-4 sm:grid-cols-6 gap-2 p-3">
<div className="grid grid-cols-4 gap-2 p-3">
{latestUsers.map((u) => (
<div key={u.username} className="flex flex-col items-center gap-1">
<div className="relative overflow-visible">
<Image
src={avatarImageUrl(imager, u.look, { headOnly: true, direction: 3 })}
alt={u.username}
width={42}
height={52}
style={{ marginTop: "-6px" }}
width={64}
height={78}
style={{ marginTop: "-8px" }}
unoptimized
/>
</div>
<span className="text-[9px] font-bold truncate max-w-[48px] text-center leading-tight" style={{ color: "var(--color-text-readable)" }}>
<span className="text-[11px] font-bold truncate max-w-[64px] text-center leading-tight" style={{ color: "var(--color-text-readable)" }}>
{u.username}
</span>
</div>