RED-4513: Fixed some overflowing texts

This commit is contained in:
Adina Țeudan 2022-07-14 13:02:39 +03:00
parent 6ca86ace92
commit 27411ab9ba
4 changed files with 8 additions and 8 deletions

View File

@ -73,12 +73,12 @@
<ng-template #tableItemTemplate let-entity="entity">
<div *ngIf="cast(entity) as attribute">
<div class="cell">
{{ attribute.label }}
<div [matTooltip]="attribute.label" class="cell" matTooltipPosition="above">
<span class="clamp-1">{{ attribute.label }}</span>
</div>
<div class="cell">
<span class="small-label">{{ attribute.placeholder }}</span>
<div [matTooltip]="attribute.placeholder" class="cell" matTooltipClass="break-all" matTooltipPosition="above">
<span class="small-label clamp-1">{{ attribute.placeholder }}</span>
</div>
<div class="cell">

View File

@ -45,9 +45,9 @@
<label translate="edit-dossier-dialog.general-info.form.dossier-state.label"></label>
<mat-select [placeholder]="statusPlaceholder" formControlName="dossierStatusId">
<mat-option *ngFor="let stateId of states" [value]="stateId">
<div class="flex-align-items-center">
<div [matTooltip]="getStateName(stateId)" class="flex-align-items-center" matTooltipPosition="after">
<redaction-small-chip *ngIf="!!stateId" [color]="getStateColor(stateId)"></redaction-small-chip>
<div>{{ getStateName(stateId) }}</div>
<div class="clamp-1">{{ getStateName(stateId) }}</div>
</div>
</mat-option>
</mat-select>

View File

@ -1,5 +1,5 @@
<div class="flex-align-items-center dossier-state-container">
<div class="dossier-state-text">
<div class="dossier-state-text clamp-1">
{{ (dossierState$ | async)?.name || ('edit-dossier-dialog.general-info.form.dossier-state.placeholder' | translate) }}
</div>
<redaction-small-chip [color]="(dossierState$ | async)?.color || '#E2E4E9'"></redaction-small-chip>

@ -1 +1 @@
Subproject commit 420a6f77237052ad60fb40980c89feb26678e1c7
Subproject commit 345454be9d260a3fbb27e9e5b57902dda2e350e0