Skip to content
Snippets Groups Projects
Verified Commit 385fcc25 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #10387 TIME 0:20 align profile firstname / lastname

parent 9acf8144
No related branches found
No related tags found
No related merge requests found
...@@ -29,9 +29,9 @@ ...@@ -29,9 +29,9 @@
</button> </button>
</ng-container> </ng-container>
</mat-menu> </mat-menu>
<button *ngIf="!mobileMode" mat-button [matMenuTriggerFor]="menu" class="userProfilButtom"> <button *ngIf="!mobileMode" mat-button [matMenuTriggerFor]="menu">
<mat-icon mat-list-icon class="fa fa-user fa-2x" style="color:white; margin:0px 12px 8px 0px;"></mat-icon> <mat-icon mat-list-icon class="fa fa-user fa-2x" style="color:white; margin:0px 12px 8px 0px;"></mat-icon>
{{headerService.user.firstname | titlecase }} <b>{{headerService.user.lastname | uppercase}}</b> <span>{{headerService.user.firstname | titlecase }}</span>&nbsp;<b>{{headerService.user.lastname | uppercase}}</b>
</button> </button>
<button *ngIf="mobileMode" mat-icon-button [matMenuTriggerFor]="menu"> <button *ngIf="mobileMode" mat-icon-button [matMenuTriggerFor]="menu">
<mat-icon mat-list-icon class="fa fa-user fa-2x" style="color:white;height: auto;"></mat-icon> <mat-icon mat-list-icon class="fa fa-user fa-2x" style="color:white;height: auto;"></mat-icon>
......
...@@ -10,10 +10,4 @@ ...@@ -10,10 +10,4 @@
font-size: 12px; font-size: 12px;
opacity: 0.5; opacity: 0.5;
} }
}
.userProfilButtom {
::ng-deep.mat-button-wrapper {
vertical-align: middle;
}
} }
\ No newline at end of file
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</ng-container> </ng-container>
</mat-menu> </mat-menu>
<button mat-button [matMenuTriggerFor]="menu" *ngIf="!mobileMode"> <button mat-button [matMenuTriggerFor]="menu" *ngIf="!mobileMode">
<mat-icon mat-list-icon class="fa fa-user fa-2x" style="color:white; margin:0px 12px 8px 0px;"></mat-icon>{{headerService.user.firstname | titlecase }} <b>{{headerService.user.lastname | uppercase}}</b></button> <mat-icon mat-list-icon class="fa fa-user fa-2x" style="color:white; margin:0px 12px 8px 0px;"></mat-icon><span>{{headerService.user.firstname | titlecase }}</span>&nbsp;<b>{{headerService.user.lastname | uppercase}}</b></button>
<mat-menu #menu="matMenu" class="headerMaarch"> <mat-menu #menu="matMenu" class="headerMaarch">
<canvas class="header-bg" width="250" height="70" style="margin-top:-8px;background-image: url('static.php?filename=login-banner.jpg');background-size:cover;border-bottom: solid 1px white;"></canvas> <canvas class="header-bg" width="250" height="70" style="margin-top:-8px;background-image: url('static.php?filename=login-banner.jpg');background-size:cover;border-bottom: solid 1px white;"></canvas>
<i title="{{lang.myProfileAccess}}" routerLink="/profile" style="cursor:pointer;z-index:1;color:white;position: absolute;left: 85px;top: 17px;background-image: url('static.php?filename=logo_only.svg');width: 70px;height: 70px;background-size: cover;background-position: top center;border-radius: 50%;border: solid white;background-color:white;"></i> <i title="{{lang.myProfileAccess}}" routerLink="/profile" style="cursor:pointer;z-index:1;color:white;position: absolute;left: 85px;top: 17px;background-image: url('static.php?filename=logo_only.svg');width: 70px;height: 70px;background-size: cover;background-position: top center;border-radius: 50%;border: solid white;background-color:white;"></i>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment