Skip to content

Commit

Permalink
[ACS-7286] Fix topbar user info issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tomson7777 committed Mar 21, 2024
1 parent 28a85d3 commit fc31556
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<div mat-menu-item class="aca-user-info" [routerLink]="['/profile']" title="{{ 'APP.TOOLTIPS.MY_PROFILE' | translate }}">
<ng-container *ngIf="user$ | async as user">
<button class="aca-user-info-button">
<div>{{ user.initials || 'U' }}</div>
</button>
<div class="aca-user-info-details">
<div>{{ user.userName }}</div>
<div>{{ user.email }}</div>
<div class="user-info-content">
<button class="aca-user-info-button">
<div>{{ user.initials || 'U' }}</div>
</button>
<div class="aca-user-info-details">
<div>{{ user.userName }}</div>
<div>{{ user.email }}</div>
</div>
</div>
</ng-container>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@
line-height: 24px;
margin-left: 10px;
}

.user-info-content {
display: flex;
align-items: center;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
border-radius: 90%;
height: 32px;
margin-right: 0;
min-width: 32px;
min-width: 36px;
padding: 0;
font-weight: 700;
line-height: 32px;
Expand Down

0 comments on commit fc31556

Please sign in to comment.