RED-8812 & RED-8841: fixes after suggestions.

This commit is contained in:
Nicoleta Panaghiu 2024-04-02 16:24:27 +03:00
parent 035986ea4f
commit cdaa921880
3 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@
></div>
<div [ngStyle]="{ height: dialogContentHeight + redactedTextsAreaHeight + 'px' }" class="dialog-content redaction">
<div *ngIf="!isImage" class="iqser-input-group">
<div class="iqser-input-group">
<table>
<thead>
<tr>

View File

@ -40,12 +40,15 @@ table {
text-overflow: ellipsis;
list-style-position: inside;
overflow: hidden;
padding-right: 8px;
}
th:last-child,
td:last-child {
max-width: 0;
width: 50%;
padding-right: 0;
}
}
}

View File

@ -28,7 +28,6 @@ export class RemoveRedactionDialogComponent extends IqserDialogComponent<
readonly hint = this.data.redactions[0].HINT;
readonly skipped = this.data.redactions.some(annotation => annotation.isSkipped);
readonly redactedTexts = this.data.redactions.map(annotation => annotation.value);
readonly isImage = this.data.redactions.every(redaction => redaction.isImage);
protected readonly roles = Roles;
form: UntypedFormGroup = this._formBuilder.group({