minor ui fixes

This commit is contained in:
Sofia Papacharalampous 2024-04-24 12:00:13 +03:00
parent 2dfa34db40
commit 850eed05d0
1 changed files with 10 additions and 8 deletions

View File

@ -1,10 +1,12 @@
<div class="form-content-editor-content"> <div class="container-fluid">
<div mat-dialog-title class="d-flex justify-content-between m-0"> <div class="row mt-3">
<span class="title">{{'GENERAL.FORM-VALIDATION-DISPLAY-DIALOG.WARNING' | translate}}</span> <div mat-dialog-title class="col-12 pr-1 d-flex justify-content-between">
<mat-icon class="close-icon" (click)="onClose()">close</mat-icon> <span class="mr-3 title">{{'GENERAL.FORM-VALIDATION-DISPLAY-DIALOG.WARNING' | translate}}</span>
<mat-icon class="close-icon" (click)="onClose()">close</mat-icon>
</div>
</div> </div>
<div class="content"> <div class="row mt-3 mr-3 mb-3">
<div class="col p-0"> <div class="col-12">
<ng-container *ngIf="errorMessages"> <ng-container *ngIf="errorMessages">
<ul class="error-list" *ngIf="errorMessages.length > 1 else singleError"> <ul class="error-list" *ngIf="errorMessages.length > 1 else singleError">
<li *ngFor="let error of errorMessages">{{error}}</li> <li *ngFor="let error of errorMessages">{{error}}</li>
@ -15,8 +17,8 @@
</ng-template> </ng-template>
</div> </div>
</div> </div>
<div> <div class="row mt-3 mb-3">
<div class="col actions"> <div class="col-12 actions">
<button mat-button type="button" class="ml-auto cancel-btn" (click)="onClose()">{{'GENERAL.FORM-VALIDATION-DISPLAY-DIALOG.ACTIONS.CANCEL' | translate}}</button> <button mat-button type="button" class="ml-auto cancel-btn" (click)="onClose()">{{'GENERAL.FORM-VALIDATION-DISPLAY-DIALOG.ACTIONS.CANCEL' | translate}}</button>
</div> </div>
</div> </div>