Merge pull request #8481 from ArtemDzhereleiko/AD/bug-fix/event-entity-table-copy-cell

Event table fixed width for cell with copy button
This commit is contained in:
Igor Kulikov 2023-05-05 17:45:49 +03:00 committed by GitHub
commit f94d92c6b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'