Removed fixed width from ProfilePictureComponent
This commit is contained in:
parent
08daca8dd3
commit
e075a4edea
|
@ -57,7 +57,9 @@
|
||||||
</ul>
|
</ul>
|
||||||
<AuthorizeView>
|
<AuthorizeView>
|
||||||
@if (context.User.FindFirst(ClaimTypes.NameIdentifier)?.Value is { } id) {
|
@if (context.User.FindFirst(ClaimTypes.NameIdentifier)?.Value is { } id) {
|
||||||
<ProfilePictureComponent ProfileId="@id" />
|
<div class="w-8">
|
||||||
|
<ProfilePictureComponent ProfileId="@id" />
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
</AuthorizeView>
|
</AuthorizeView>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="avatar">
|
<div class="avatar">
|
||||||
<div class="w-8 rounded">
|
<div class="rounded">
|
||||||
<img src="/api/user/pfp/@ProfileId" alt="" loading="lazy"
|
<img src="/api/user/pfp/@ProfileId" alt="" loading="lazy"
|
||||||
onerror="this.remove()" />
|
onerror="this.remove()" />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue