Browse Source

UI: Fix for event table fixed width for cell with copy button

pull/8481/head
Artem Dzhereleiko 4 years ago
parent
commit
54b9a5c37a
  1. 6
      ui-ngx/src/app/modules/home/components/event/event-table-config.ts

6
ui-ngx/src/app/modules/home/components/event/event-table-config.ts

@ -243,7 +243,8 @@ export class EventTableConfig extends EntityTableConfig<Event, TimePageLink> {
padding: '0 12px 0 0'
})),
new EntityTableColumn<Event>('entityId', 'event.entity-id', '85px',
(entity) => `${entity.body.entityId.substring(0, 6)}…`, () => ({
(entity) => `<span style="display: inline-block; width: 7ch">${entity.body.entityId.substring(0, 6)}…</span>`,
() => ({
padding: '0 12px 0 0'
}), false, () => ({
padding: '0 12px 0 0'
@ -261,7 +262,8 @@ export class EventTableConfig extends EntityTableConfig<Event, TimePageLink> {
type: CellActionDescriptorType.COPY_BUTTON
}),
new EntityTableColumn<Event>('msgId', 'event.message-id', '85px',
(entity) => `${entity.body.msgId.substring(0, 6)}…`, () => ({
(entity) => `<span style="display: inline-block; width: 7ch">${entity.body.msgId.substring(0, 6)}…</span>`,
() => ({
padding: '0 12px 0 0'
}), false, () => ({
padding: '0 12px 0 0'

Loading…
Cancel
Save