<my-avatar-notification [user]="user"></my-avatar-notification>
<div class="logged-in-info">
- <a routerLink="/my-account/settings" class="logged-in-username">{{ user.account?.displayName }}</a>
- <div class="logged-in-email">{{ user.username }}</div>
+ <a routerLink="/my-account/settings" class="logged-in-display-name">{{ user.account?.displayName }}</a>
+ <div class="logged-in-username">{{ user.username }}</div>
</div>
<div class="logged-in-more" ngbDropdown placement="bottom-right">
.logged-in-info {
flex-grow: 1;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
- .logged-in-username {
+ .logged-in-display-name {
font-size: 16px;
font-weight: $font-semibold;
color: var(--menuForegroundColor);
@include disable-default-a-behaviour;
}
- .logged-in-email {
+ .logged-in-username {
font-size: 13px;
color: #C6C6C6;
white-space: nowrap;