Skip to content

Commit

Permalink
[ACS-7286] Fix topbar user info issues (#3720)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomson7777 authored and MichalKinas committed Apr 16, 2024
1 parent 04310a1 commit 5f92453
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="aca-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 @@ -3,6 +3,11 @@
height: 66px;
align-items: center;

&-content {
display: flex;
align-items: center;
}

&-button {
border-radius: 90%;
height: 32px;
Expand Down
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 5f92453

Please sign in to comment.