Merge remote-tracking branch 'origin/Development' into Development

This commit is contained in:
Konstantinos Triantafyllou 2021-12-22 16:00:07 +02:00
commit 7962c6a587
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<div class="main-content"> <div class="main-content">
<div class="container-fluid"> <div class="container-fluid">
<form *ngIf="formGroup" [formGroup]="formGroup" (ngSubmit)="formSubmit()"> <div *ngIf="formGroup" [formGroup]="formGroup" class="form-container">
<!-- DMP Header --> <!-- DMP Header -->
<div [hidden]="this.step >= stepsBeforeDatasets" class="fixed-editor-header"> <div [hidden]="this.step >= stepsBeforeDatasets" class="fixed-editor-header">
<div class="card editor-header"> <div class="card editor-header">
@ -18,7 +18,7 @@
<div>{{'DMP-EDITOR.ACTIONS.SAVE' | translate}}</div> <div>{{'DMP-EDITOR.ACTIONS.SAVE' | translate}}</div>
</div> </div>
<div *ngIf="!isNew && formGroup.enabled && !lockStatus"> <div *ngIf="!isNew && formGroup.enabled && !lockStatus">
<button *ngIf="!isFinalized" mat-raised-button type="submit" class="save-btn"> <button *ngIf="!isFinalized" mat-raised-button (click)="formSubmit()" class="save-btn">
{{'DMP-EDITOR.ACTIONS.SAVE' | translate}} {{'DMP-EDITOR.ACTIONS.SAVE' | translate}}
</button> </button>
</div> </div>
@ -93,7 +93,7 @@
</div> </div>
</div> </div>
</div> </div>
</form> </div>
</div> </div>
</div> </div>

View File

@ -8,7 +8,7 @@
} }
} }
form { .form-container {
height: calc(100vh - 124px); height: calc(100vh - 124px);
margin-top: 6rem; margin-top: 6rem;
} }