From 54b9a5c37a6752e2767099ebdf89ed8b00bf9958 Mon Sep 17 00:00:00 2001 From: Artem Dzhereleiko Date: Thu, 4 May 2023 15:17:50 +0300 Subject: [PATCH] UI: Fix for event table fixed width for cell with copy button --- .../app/modules/home/components/event/event-table-config.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/event/event-table-config.ts b/ui-ngx/src/app/modules/home/components/event/event-table-config.ts index c52a264c37..a9816a130c 100644 --- a/ui-ngx/src/app/modules/home/components/event/event-table-config.ts +++ b/ui-ngx/src/app/modules/home/components/event/event-table-config.ts @@ -243,7 +243,8 @@ export class EventTableConfig extends EntityTableConfig { padding: '0 12px 0 0' })), new EntityTableColumn('entityId', 'event.entity-id', '85px', - (entity) => `${entity.body.entityId.substring(0, 6)}…`, () => ({ + (entity) => `${entity.body.entityId.substring(0, 6)}…`, + () => ({ padding: '0 12px 0 0' }), false, () => ({ padding: '0 12px 0 0' @@ -261,7 +262,8 @@ export class EventTableConfig extends EntityTableConfig { type: CellActionDescriptorType.COPY_BUTTON }), new EntityTableColumn('msgId', 'event.message-id', '85px', - (entity) => `${entity.body.msgId.substring(0, 6)}…`, () => ({ + (entity) => `${entity.body.msgId.substring(0, 6)}…`, + () => ({ padding: '0 12px 0 0' }), false, () => ({ padding: '0 12px 0 0'