Admin: Stretched avatarts -> cropped

This commit is contained in:
veselcraft 2021-09-14 02:59:57 +03:00
parent 6937ec6a8f
commit 33478e7bf9
4 changed files with 4 additions and 4 deletions

View file

@ -38,7 +38,7 @@
</label>
<span id="avatar" class="aui-avatar aui-avatar-project aui-avatar-xlarge">
<span class="aui-avatar-inner">
<img src="{$club->getAvatarUrl()}"></img>
<img src="{$club->getAvatarUrl()}" style="object-fit: cover;"></img>
</span>
</span>
</div>

View file

@ -32,7 +32,7 @@
<td>
<span class="aui-avatar aui-avatar-xsmall">
<span class="aui-avatar-inner">
<img src="{$club->getAvatarUrl()}" alt="{$club->getCanonicalName()}" role="presentation" />
<img src="{$club->getAvatarUrl()}" alt="{$club->getCanonicalName()}" style="object-fit: cover;" role="presentation" />
</span>
</span>

View file

@ -17,7 +17,7 @@
</label>
<span id="avatar" class="aui-avatar aui-avatar-project aui-avatar-xlarge">
<span class="aui-avatar-inner">
<img src="{$user->getAvatarUrl()}"></img>
<img src="{$user->getAvatarUrl()}" style="object-fit: cover;"></img>
</span>
</span>
</div>

View file

@ -32,7 +32,7 @@
<td>
<span class="aui-avatar aui-avatar-xsmall">
<span class="aui-avatar-inner">
<img src="{$user->getAvatarUrl()}" alt="{$user->getCanonicalName()}" role="presentation" />
<img src="{$user->getAvatarUrl()}" alt="{$user->getCanonicalName()}" style="object-fit: cover;" role="presentation" />
</span>
</span>