-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ACS-7286] Fix topbar user info issues
- Loading branch information
1 parent
28a85d3
commit fc31556
Showing
3 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
14 changes: 8 additions & 6 deletions
14
projects/aca-content/src/lib/components/common/user-info/user-info.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,9 @@ | |
line-height: 24px; | ||
margin-left: 10px; | ||
} | ||
|
||
.user-info-content { | ||
display: flex; | ||
align-items: center; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters