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>
{{dmp.label}}
</div>
<div>
<div class="ml-2">
<mat-chip-list>
<mat-chip>{{getUserRole(dmp)}}</mat-chip>
</mat-chip-list>
@ -54,7 +54,7 @@
<mat-card-header>
<mat-card-title>
<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()">
<mat-icon class="mat-24">edit</mat-icon>
</button>

View File

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