Skip to content

Commit 4c36c54

Browse files
committed
style(audit-logs): widen time and action columns, tighten payload column
1 parent b286c89 commit 4c36c54

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/pages/audit-logs.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ export const AuditLogs = () => {
455455
{
456456
title: t('audit_logs.col_time'),
457457
dataIndex: 'createdAt',
458-
width: 180,
458+
width: 210,
459459
render: (createdAt: string) => {
460460
const date = dayjs(createdAt);
461461
return (
@@ -470,7 +470,7 @@ export const AuditLogs = () => {
470470
},
471471
{
472472
title: t('audit_logs.col_action'),
473-
width: 140,
473+
width: 210,
474474
render: (_value, record) => {
475475
const actionLabel = getActionLabel(t, record.method, record.path);
476476
const isDelete = record.method.toUpperCase() === 'DELETE';
@@ -483,7 +483,7 @@ export const AuditLogs = () => {
483483
},
484484
{
485485
title: t('audit_logs.col_path'),
486-
width: 260,
486+
width: 240,
487487
responsive: ['md'],
488488
render: (_value, record) => (
489489
<div className="min-w-0">
@@ -499,7 +499,7 @@ export const AuditLogs = () => {
499499
{
500500
title: t('audit_logs.col_status'),
501501
dataIndex: 'statusCode',
502-
width: 110,
502+
width: 90,
503503
render: (statusCode: string) => {
504504
const code = Number(statusCode);
505505
const color =
@@ -516,7 +516,7 @@ export const AuditLogs = () => {
516516
{
517517
title: t('audit_logs.col_payload'),
518518
responsive: ['lg'],
519-
width: 320,
519+
width: 200,
520520
render: (_value, record) => {
521521
const previewData = getPreviewData(record.data);
522522
if (!previewData) {

0 commit comments

Comments
 (0)