1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-10-03 01:09:57 +01:00

fix: ensure aspect ratio for avatars

This commit is contained in:
patak 2022-12-30 23:41:07 +01:00
parent a347515781
commit b64d1add86

View file

@ -12,6 +12,8 @@ const error = $ref(false)
<template>
<img
:key="account.avatar"
width="400"
height="400"
:src="error ? 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7' : account.avatar"
:alt="$t('account.avatar_description', [account.username])"
loading="lazy"