diff --git a/src/app/p/[secret]/log/page.tsx b/src/app/p/[secret]/log/page.tsx index 4a7460a..f1cb7b5 100644 --- a/src/app/p/[secret]/log/page.tsx +++ b/src/app/p/[secret]/log/page.tsx @@ -117,41 +117,66 @@ export default function AdminAuditLogPage() {

No entries match these filters

) : (
- {entries.map((entry) => ( -
- - {entry.action} - -

- {entry.targetType} · {entry.targetId.slice(0, 16)}… -

-
-

- {entry.moderatorName ?? unnamed} - {entry.moderatorRole && ( - - {entry.moderatorRole} - - )} -

-

{entry.moderatorId}

+ {/* Fixed-width grid columns instead of flex-wrap — long IDs/IPs used + to force rows to overflow the viewport instead of wrapping. The + outer scroll wrapper lets the whole table scroll as one unit on + narrow screens rather than clipping individual cells. */} +
+
+
+ Action + Target + Moderator + IP + Time
-

{entry.ipAddress ?? "—"}

-

- {new Date(entry.createdAt).toLocaleString()} -

- {entry.reason && ( -

Reason: {entry.reason}

- )} + {entries.map((entry) => ( +
+
+ + {entry.action} + +

+ {entry.targetType} · {entry.targetId} +

+
+

+ + {entry.moderatorName ?? unnamed} + + {entry.moderatorRole && ( + + {entry.moderatorRole} + + )} +

+

+ {entry.moderatorId} +

+
+

+ {entry.ipAddress ?? "—"} +

+

+ {new Date(entry.createdAt).toLocaleString()} +

+
+ {entry.reason && ( +

+ Reason: {entry.reason} +

+ )} +
+ ))}
- ))} +
{hasNextPage && (