refac
This commit is contained in:
1 parent
01810e32ad
commit
346dab3d8f
5 files changed
+30
-15
No files matched your search
@@ -948,8 +948,10 @@
|
||||
}
|
||||
}}
|
||||
>
|
||||
<div
|
||||
<button
|
||||
type="button"
|
||||
class=" cursor-pointer flex rounded-xl hover:bg-gray-100 dark:hover:bg-gray-850 transition group"
|
||||
aria-label={$i18n.t('User menu')}
|
||||
>
|
||||
<div class="self-center relative">
|
||||
<img
|
||||
@@ -971,7 +973,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</button>
|
||||
</UserMenu>
|
||||
{/if}
|
||||
</div>
|
||||
@@ -1608,8 +1610,10 @@
|
||||
}
|
||||
}}
|
||||
>
|
||||
<div
|
||||
<button
|
||||
type="button"
|
||||
class=" flex items-center rounded-2xl py-2 px-1.5 w-full hover:bg-gray-100/50 dark:hover:bg-gray-900/50 transition"
|
||||
aria-label={$i18n.t('User menu')}
|
||||
>
|
||||
<div class=" self-center mr-3 relative flex-shrink-0">
|
||||
<img
|
||||
@@ -1632,7 +1636,7 @@
|
||||
{/if}
|
||||
</div>
|
||||
<div class=" self-center font-medium truncate">{$user?.name}</div>
|
||||
</div>
|
||||
</button>
|
||||
</UserMenu>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user