Fix users with no profile record not being shown #7

Open
astra wants to merge 3 commits from kc/profileless-users-not-being-shown into main
Showing only changes of commit 2ffb5d7b28 - Show all commits

View file

@ -12,10 +12,14 @@
alt="avatar of {account.displayName}"
src="{Config.PDS_URL}/xrpc/com.atproto.sync.getBlob?did={account.did}&cid={account.avatarCid}"
/>
{/if}
<div id="accountName">
{account.displayName || account.handle || account.did}
</div>
{:else}
<div id="accountName" class="no-avatar">
{account.displayName || account.handle || account.did}

Idk about the styling change, needs a further discussion (prolly as part of a bigger config update)

Idk about the styling change, needs a further discussion (prolly as part of a bigger config update)

In the chat you said that it'd be better to not align avatarless users and keep them small, should I do that now?

In the chat you said that it'd be better to not align avatarless users and keep them small, should I do that now?
</div>
{/if}
</div>
</a>
@ -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;