Browse Source

Merge pull request #12217 from maxunbearable/fix/4970-adjusted-audit-height

Adjusted audit logs dialog codeblock height
pull/12227/head
Igor Kulikov 2 years ago
committed by GitHub
parent
commit
35d3e4dbd7
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      ui-ngx/src/app/modules/home/components/audit-log/audit-log-details-dialog.component.ts

2
ui-ngx/src/app/modules/home/components/audit-log/audit-log-details-dialog.component.ts

@ -105,7 +105,7 @@ export class AuditLogDetailsDialogComponent extends DialogComponent<AuditLogDeta
let newWidth = 600;
if (content && content.length > 0) {
const lines = content.split('\n');
newHeight = 17 * lines.length + 16;
newHeight = 18 * lines.length + 16;
let maxLineLength = 0;
lines.forEach((row) => {
const line = row.replace(/\t/g, ' ').replace(/\n/g, '');

Loading…
Cancel
Save