mirror of
https://github.com/bitwarden/web
synced 2026-02-19 19:03:29 +00:00
WIP use Avatar for account menu
This commit is contained in:
@@ -38,9 +38,16 @@
|
||||
<li>
|
||||
<button
|
||||
[bitMenuTriggerFor]="accountMenu"
|
||||
class="tw-border-0 tw-bg-transparent tw-text-contrast tw-opacity-70 hover:tw-opacity-90"
|
||||
class="tw-border-0 tw-bg-transparent tw-text-contrast"
|
||||
>
|
||||
<i class="bwi bwi-user-circle bwi-lg" aria-hidden="true"></i>
|
||||
<app-avatar
|
||||
*ngIf="name"
|
||||
[data]="name"
|
||||
[email]="email"
|
||||
size="25"
|
||||
fontSize="14"
|
||||
[circle]="true"
|
||||
></app-avatar>
|
||||
<i class="bwi bwi-caret-down bwi-sm" aria-hidden="true"></i>
|
||||
</button>
|
||||
<bit-menu class="dropdown-menu" #accountMenu>
|
||||
|
||||
Reference in New Issue
Block a user