From 2ffb5d7b28059ffec60a12380978990e42a84473 Mon Sep 17 00:00:00 2001 From: Casey Date: Mon, 12 May 2025 22:16:20 +0300 Subject: [PATCH] Shift the name a bit so it lines up --- src/lib/AccountComponent.svelte | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/lib/AccountComponent.svelte b/src/lib/AccountComponent.svelte index 880db3f..01ac750 100644 --- a/src/lib/AccountComponent.svelte +++ b/src/lib/AccountComponent.svelte @@ -12,10 +12,14 @@ alt="avatar of {account.displayName}" src="{Config.PDS_URL}/xrpc/com.atproto.sync.getBlob?did={account.did}&cid={account.avatarCid}" /> +
+ {account.displayName || account.handle || account.did} +
+ {:else} +
+ {account.displayName || account.handle || account.did} +
{/if} -
- {account.displayName || account.handle || account.did} -
@@ -28,6 +32,7 @@ padding: 0px; margin-bottom: 15px; border: 1px solid var(--border-color); + min-height: 50px; } #accountName { margin-left: 10px; @@ -39,6 +44,9 @@ text-overflow: ellipsis; white-space: nowrap; } + .no-avatar { + margin-left: 60px !important; + } #avatar { width: 50px; height: 50px;