RED-8812 & RED-8841: fixes after suggestions.
This commit is contained in:
parent
400ad29bf2
commit
d9c607ffb3
@ -6,7 +6,7 @@
|
|||||||
></div>
|
></div>
|
||||||
|
|
||||||
<div [ngStyle]="{ height: dialogContentHeight + redactedTextsAreaHeight + 'px' }" class="dialog-content redaction">
|
<div [ngStyle]="{ height: dialogContentHeight + redactedTextsAreaHeight + 'px' }" class="dialog-content redaction">
|
||||||
<div *ngIf="!isImage" class="iqser-input-group">
|
<div class="iqser-input-group">
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
@ -40,12 +40,15 @@ table {
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
list-style-position: inside;
|
list-style-position: inside;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
padding-right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
th:last-child,
|
th:last-child,
|
||||||
td:last-child {
|
td:last-child {
|
||||||
max-width: 0;
|
max-width: 0;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -28,7 +28,6 @@ export class RemoveRedactionDialogComponent extends IqserDialogComponent<
|
|||||||
readonly hint = this.data.redactions[0].HINT;
|
readonly hint = this.data.redactions[0].HINT;
|
||||||
readonly skipped = this.data.redactions.some(annotation => annotation.isSkipped);
|
readonly skipped = this.data.redactions.some(annotation => annotation.isSkipped);
|
||||||
readonly redactedTexts = this.data.redactions.map(annotation => annotation.value);
|
readonly redactedTexts = this.data.redactions.map(annotation => annotation.value);
|
||||||
readonly isImage = this.data.redactions.every(redaction => redaction.isImage);
|
|
||||||
|
|
||||||
protected readonly roles = Roles;
|
protected readonly roles = Roles;
|
||||||
form: UntypedFormGroup = this._formBuilder.group({
|
form: UntypedFormGroup = this._formBuilder.group({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user