Fix users with no profile record not being shown #7
1 changed files with 11 additions and 3 deletions
|
@ -12,10 +12,14 @@
|
||||||
alt="avatar of {account.displayName}"
|
alt="avatar of {account.displayName}"
|
||||||
src="{Config.PDS_URL}/xrpc/com.atproto.sync.getBlob?did={account.did}&cid={account.avatarCid}"
|
src="{Config.PDS_URL}/xrpc/com.atproto.sync.getBlob?did={account.did}&cid={account.avatarCid}"
|
||||||
/>
|
/>
|
||||||
|
<div id="accountName">
|
||||||
|
{account.displayName || account.handle || account.did}
|
||||||
|
</div>
|
||||||
|
{:else}
|
||||||
|
<div id="accountName" class="no-avatar">
|
||||||
|
{account.displayName || account.handle || account.did}
|
||||||
|
|||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div id="accountName">
|
|
||||||
{account.displayName || account.handle || account.did}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -28,6 +32,7 @@
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
border: 1px solid var(--border-color);
|
border: 1px solid var(--border-color);
|
||||||
|
min-height: 50px;
|
||||||
}
|
}
|
||||||
#accountName {
|
#accountName {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
@ -39,6 +44,9 @@
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
.no-avatar {
|
||||||
|
margin-left: 60px !important;
|
||||||
|
}
|
||||||
#avatar {
|
#avatar {
|
||||||
width: 50px;
|
width: 50px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue
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?