Browse Source
Merge pull request #8481 from ArtemDzhereleiko/AD/bug-fix/event-entity-table-copy-cell
Event table fixed width for cell with copy button
pull/8499/head
Igor Kulikov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
2 deletions
-
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' |
|
|
|
|