Changed avatar width="auto"

This commit is contained in:
Julian Prieber 2023-03-20 20:33:49 +01:00
parent 88b73febf9
commit 69bb84d78f

View File

@ -284,7 +284,7 @@ function get_operating_system() {
<div class="column" style="margin-top: 5%">
<!-- Your Image Here -->
@if(file_exists(base_path(findAvatar($userinfo->id))))
<img alt="avatar" class="rounded-avatar fadein" src="{{ url(findAvatar($userinfo->id)) }}" width="128px" height="128px" style="object-fit: cover;">
<img alt="avatar" class="rounded-avatar fadein" src="{{ url(findAvatar($userinfo->id)) }}" width="auto" height="128px" style="object-fit: cover;">
@else
<img alt="avatar" class="rounded-avatar fadein" src="{{ asset('littlelink/images/logo.svg') }}" width="128px" height="128px" style="object-fit: cover;">
@endif