minor ui changes

This commit is contained in:
Sofia Papacharalampous 2024-04-15 17:50:16 +03:00
parent 9ad0c59b9e
commit f05d629c14
2 changed files with 7 additions and 7 deletions

View File

@ -30,7 +30,7 @@
</mat-card-header>
<mat-card-content>
<div class="row mt-3">
<div class="col-4" *ngIf="isNew">
<div class="col-6" *ngIf="isNew">
<mat-form-field class="w-100">
<mat-label>{{'LANGUAGE-EDITOR.FIELDS.CODE' | translate}}</mat-label>
<input matInput type="text" name="code" [formControl]="formGroup.get('code')" required>
@ -38,7 +38,7 @@
<mat-error *ngIf="formGroup.get('code').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
</mat-form-field>
</div>
<div class="col-4" *ngIf="!isNew">
<div class="col-6" *ngIf="!isNew">
<mat-form-field class="w-100">
<mat-label>{{'LANGUAGE-EDITOR.FIELDS.CODE' | translate}}</mat-label>
<mat-select (selectionChange)="selectedCodeChanged($event.value)" name= "code" [formControl]="formGroup.get('code')">

View File

@ -25,7 +25,7 @@
</div>
<form *ngIf="formGroup" (ngSubmit)="formSubmit()">
<mat-card appearance="outlined">
<mat-card appearance="outlined" class="mb-1">
<mat-card-header>
<mat-card-title *ngIf="isNew">{{'PREFILLING-SOURCE-EDITOR.NEW' | translate}}</mat-card-title>
</mat-card-header>
@ -42,7 +42,7 @@
</div>
</mat-card-content>
</mat-card>
<mat-card appearance="outlined">
<mat-card appearance="outlined" class="mb-1">
<mat-card-header>
<mat-card-title>{{'PREFILLING-SOURCE-EDITOR.FIELDS.FIXED-VALUE-FIELDS' | translate}}</mat-card-title>
</mat-card-header>
@ -82,7 +82,7 @@
</div>
</mat-card-content>
</mat-card>
<mat-card appearance="outlined">
<mat-card appearance="outlined" class="mb-1">
<mat-card-header>
<mat-card-title>{{'PREFILLING-SOURCE-EDITOR.FIELDS.FIELDS' | translate}}</mat-card-title>
</mat-card-header>
@ -122,7 +122,7 @@
</mat-card-content>
</mat-card>
<mat-card appearance="outlined">
<mat-card appearance="outlined" class="mb-1">
<mat-card-header>
<mat-card-title>{{'PREFILLING-SOURCE-EDITOR.FIELDS.SOURCE-CONFIGURATION' | translate}}</mat-card-title>
</mat-card-header>
@ -138,7 +138,7 @@
</mat-card-content>
</mat-card>
<mat-card appearance="outlined" *ngIf="formGroup.get('definition').get('getEnabled').value == true">
<mat-card appearance="outlined" *ngIf="formGroup.get('definition').get('getEnabled').value == true" class="mb-1">
<mat-card-header>
<mat-card-title>{{'PREFILLING-SOURCE-EDITOR.FIELDS.GET-SOURCE-CONFIGURATION' | translate}}</mat-card-title>
</mat-card-header>