fix: center profile initials in avatar
This commit is contained in:
@@ -220,7 +220,11 @@
|
|||||||
<div class="dropdown dropdown-end" v-if="activeProfile">
|
<div class="dropdown dropdown-end" v-if="activeProfile">
|
||||||
<div tabindex="0" role="button" class="btn btn-ghost btn-circle avatar placeholder">
|
<div tabindex="0" role="button" class="btn btn-ghost btn-circle avatar placeholder">
|
||||||
<div class="bg-secondary text-secondary-content rounded-full w-10 h-10 grid place-items-center">
|
<div class="bg-secondary text-secondary-content rounded-full w-10 h-10 grid place-items-center">
|
||||||
<span class="text-sm font-semibold leading-none">{{ activeProfileInitials }}</span>
|
<span
|
||||||
|
class="flex h-full w-full items-center justify-center text-sm font-semibold leading-none tracking-tight"
|
||||||
|
>
|
||||||
|
{{ activeProfileInitials }}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ul tabindex="0" class="menu dropdown-content mt-3 p-2 shadow bg-base-100 rounded-box w-64">
|
<ul tabindex="0" class="menu dropdown-content mt-3 p-2 shadow bg-base-100 rounded-box w-64">
|
||||||
|
|||||||
Reference in New Issue
Block a user