Removed fixed width from ProfilePictureComponent

This commit is contained in:
Mia Rose Winter 2024-01-15 21:10:01 +01:00
parent 08daca8dd3
commit e075a4edea
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
2 changed files with 4 additions and 2 deletions

View file

@ -57,7 +57,9 @@
</ul>
<AuthorizeView>
@if (context.User.FindFirst(ClaimTypes.NameIdentifier)?.Value is { } id) {
<div class="w-8">
<ProfilePictureComponent ProfileId="@id" />
</div>
}
</AuthorizeView>
</div>

View file

@ -1,5 +1,5 @@
<div class="avatar">
<div class="w-8 rounded">
<div class="rounded">
<img src="/api/user/pfp/@ProfileId" alt="" loading="lazy"
onerror="this.remove()" />
</div>