From cdaa9218809eb4784da2f1f3afb6656b64c861c6 Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Tue, 2 Apr 2024 16:24:27 +0300 Subject: [PATCH] RED-8812 & RED-8841: fixes after suggestions. --- .../remove-redaction-dialog.component.html | 2 +- .../remove-redaction-dialog.component.scss | 3 +++ .../remove-redaction-dialog.component.ts | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/remove-redaction-dialog/remove-redaction-dialog.component.html b/apps/red-ui/src/app/modules/file-preview/dialogs/remove-redaction-dialog/remove-redaction-dialog.component.html index e7468fd7a..d2bdeca2b 100644 --- a/apps/red-ui/src/app/modules/file-preview/dialogs/remove-redaction-dialog/remove-redaction-dialog.component.html +++ b/apps/red-ui/src/app/modules/file-preview/dialogs/remove-redaction-dialog/remove-redaction-dialog.component.html @@ -6,7 +6,7 @@ >
-
+
diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/remove-redaction-dialog/remove-redaction-dialog.component.scss b/apps/red-ui/src/app/modules/file-preview/dialogs/remove-redaction-dialog/remove-redaction-dialog.component.scss index da4f7c52d..d4f4cecd5 100644 --- a/apps/red-ui/src/app/modules/file-preview/dialogs/remove-redaction-dialog/remove-redaction-dialog.component.scss +++ b/apps/red-ui/src/app/modules/file-preview/dialogs/remove-redaction-dialog/remove-redaction-dialog.component.scss @@ -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; } } } diff --git a/apps/red-ui/src/app/modules/file-preview/dialogs/remove-redaction-dialog/remove-redaction-dialog.component.ts b/apps/red-ui/src/app/modules/file-preview/dialogs/remove-redaction-dialog/remove-redaction-dialog.component.ts index acc251e7d..f6d556571 100644 --- a/apps/red-ui/src/app/modules/file-preview/dialogs/remove-redaction-dialog/remove-redaction-dialog.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/dialogs/remove-redaction-dialog/remove-redaction-dialog.component.ts @@ -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({