reference could not find style fix

(cherry picked from commit 078f5d0df1)
This commit is contained in:
CITE\amentis 2024-10-08 11:32:32 +03:00
parent 6758f2adbd
commit fabeca2631
2 changed files with 6 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<mat-error *ngIf="form.hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
<mat-hint *ngIf="hint" align="start">{{hint}}</mat-hint>
</mat-form-field>
<small class="ml-auto inherit-mat-hint" *ngIf="!form.disabled">
<small class="ml-auto inherit-mat-hint could-not-finded-container" *ngIf="!form.disabled">
<span class="not-found">{{'REFERENCE-FIELD.COULD-NOT-FIND-MESSAGE' | translate}} </span>
<span class="insert-manually" (click)="addReference($event)">{{'REFERENCE-FIELD.ACTIONS.INSERT-MANUALLY' | translate}}</span>
</small>
@ -22,7 +22,7 @@
<mat-error *ngIf="form.hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
<mat-hint *ngIf="hint" align="start">{{hint}}</mat-hint>
</mat-form-field>
<small class="ml-auto inherit-mat-hint" *ngIf="!form.disabled">
<small class="ml-auto inherit-mat-hint could-not-finded-container" *ngIf="!form.disabled">
<span class="not-found">{{'REFERENCE-FIELD.COULD-NOT-FIND-MESSAGE' | translate}} </span>
<span class="insert-manually" (click)="addReference($event)">{{'REFERENCE-FIELD.ACTIONS.INSERT-MANUALLY' | translate}}</span>
</small>

View File

@ -11,6 +11,10 @@
padding: 0rem 0.5rem 0rem 0rem;
}
.could-not-finded-container {
margin-bottom: 3em;
}
.inherit-mat-hint { //todo mchouliara move to styles.scss after accessibility refactor merge
font-size: var(--mat-form-field-subscript-text-size);
}