Fix layout of member loading

Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
Alexis Sellier
2021-12-07 13:48:15 +01:00
parent 41f8e27e9f
commit 41708ce87f
+6 -6
View File
@@ -197,10 +197,10 @@
{#if orgs.length > 0}
<div class="members">
{#each orgs as org}
{#await Profile.get(org.address, ProfileType.Minimal, config)}
<Loading small margins />
{:then profile}
<div class="member">
<div class="member">
{#await Profile.get(org.address, ProfileType.Minimal, config)}
<Loading small margins />
{:then profile}
<div class="member-icon">
<Link to="/orgs/{profile.address}">
<Avatar source={profile.avatar ?? profile.address} address={profile.address} />
@@ -210,8 +210,8 @@
<Address address={profile.address} compact
resolve noBadge noAvatar {profile} {config} />
</div>
</div>
{/await}
{/await}
</div>
{/each}
</div>
{/if}