[ACS-4106] changed place of mat-error tag & style change (#8368)

This commit is contained in:
Raviraj Bahirsheth
2023-03-16 15:16:38 +05:30
committed by GitHub
parent ebabcf2c2b
commit 6e835893ca
2 changed files with 9 additions and 9 deletions

View File

@@ -52,14 +52,6 @@
</mat-form-field>
</div>
<mat-error [attr.data-automation-id]="'card-textitem-error-' + property.key"
class="adf-textitem-editable-error"
*ngIf="isEditable && hasErrors">
<ul>
<li *ngFor="let error of errors">{{ error.message | translate: error }}</li>
</ul>
</mat-error>
<div *ngSwitchCase="'chipsTemplate'"
class="adf-property-field adf-textitem-chip-list-container">
<mat-chip-list #chipList
@@ -131,6 +123,14 @@
<ng-container *ngTemplateOutlet="label"></ng-container>
<span class="adf-textitem-default-value">{{ property.default | translate }}</span>
</div>
<mat-error [attr.data-automation-id]="'card-textitem-error-' + property.key"
class="adf-textitem-editable-error"
*ngIf="isEditable && hasErrors">
<ul>
<li *ngFor="let error of errors">{{ error.message | translate: error }}</li>
</ul>
</mat-error>
</div>
<ng-template #label>

View File

@@ -80,7 +80,7 @@
&-error {
font-size: var(--theme-caption-font-size);
padding-top: 4px;
padding-top: 6px;
ul {
margin: 0;