Aligns fields on user profile

This commit is contained in:
apapachristou 2019-06-05 11:11:15 +03:00
parent e4b6190522
commit 9d91c8419d
2 changed files with 12 additions and 8 deletions

View File

@ -37,7 +37,7 @@
<div> <div>
{{dmp.label}} {{dmp.label}}
</div> </div>
<div> <div class="ml-2">
<mat-chip-list> <mat-chip-list>
<mat-chip>{{getUserRole(dmp)}}</mat-chip> <mat-chip>{{getUserRole(dmp)}}</mat-chip>
</mat-chip-list> </mat-chip-list>
@ -54,7 +54,7 @@
<mat-card-header> <mat-card-header>
<mat-card-title> <mat-card-title>
<div class="row"> <div class="row">
<h4 class="col-auto">{{ 'USER-PROFILE.SETTINGS.TITLE' | translate}}</h4> <h4 class="settings col-auto">{{ 'USER-PROFILE.SETTINGS.TITLE' | translate}}</h4>
<button class="col-auto" *ngIf="!editMode" mat-icon-button (click)="unlock()"> <button class="col-auto" *ngIf="!editMode" mat-icon-button (click)="unlock()">
<mat-icon class="mat-24">edit</mat-icon> <mat-icon class="mat-24">edit</mat-icon>
</button> </button>

View File

@ -9,11 +9,15 @@
// width: 100% // width: 100%
// } // }
.user-profile { .user-profile {
.profile-card-center-row { .profile-card-center-row {
justify-content: center; justify-content: center;
} }
.profile-card { .profile-card {
margin-bottom: 1em; margin-bottom: 1em;
} }
}
.settings {
line-height: 2.4em !important;
} }