Improved ProfilePill
This commit is contained in:
parent
61363179be
commit
638820e7dc
|
@ -1,12 +1,12 @@
|
||||||
@using Wave.Data
|
@using Wave.Data
|
||||||
|
|
||||||
<div class="rounded bg-base-200 p-2 flex gap-4 justify-center">
|
<div class="rounded bg-base-200 text-base-content flex content-center w-full sm:w-56">
|
||||||
<div class="w-12 h-12">
|
<div class="w-16 h-16">
|
||||||
<ProfilePictureComponent ProfileId="@Profile.Id" />
|
<ProfilePictureComponent ProfileId="@Profile.Id" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col p-2">
|
||||||
@Profile.Name
|
<span class="truncate">@Profile.Name</span>
|
||||||
@if (RoleTag is not null) {
|
@if (RoleTag is not null) {
|
||||||
<span class="badge badge-sm badge-primary">@RoleTag</span>
|
<span class="badge badge-sm badge-primary">@RoleTag</span>
|
||||||
}
|
}
|
||||||
|
|
2
Wave/wwwroot/css/main.min.css
vendored
2
Wave/wwwroot/css/main.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue