feat(frontend): specify height as well as width for avatars
This commit is contained in:
parent
99ab8b6864
commit
4a17611766
3 changed files with 22 additions and 4 deletions
|
@ -321,7 +321,13 @@
|
|||
{#if avatar === ""}
|
||||
<FallbackImage alt="Current avatar" urls={[]} width={200} />
|
||||
{:else if avatar}
|
||||
<img width={200} src={avatar} alt="New avatar" class="rounded-circle img-fluid" />
|
||||
<img
|
||||
width={200}
|
||||
height={200}
|
||||
src={avatar}
|
||||
alt="New avatar"
|
||||
class="rounded-circle img-fluid"
|
||||
/>
|
||||
{:else}
|
||||
<FallbackImage alt="Current avatar" urls={memberAvatars(data.member)} width={200} />
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue