style(events): replace dashes with ASCII in event log UI
This commit is contained in:
parent
cdfd5c4278
commit
47d338c868
2 changed files with 5 additions and 5 deletions
|
|
@ -12,7 +12,7 @@ export default function EventLogPage() {
|
||||||
<div>
|
<div>
|
||||||
<h1 className="text-2xl font-semibold tracking-tight">Event Log</h1>
|
<h1 className="text-2xl font-semibold tracking-tight">Event Log</h1>
|
||||||
<p className="text-muted-foreground text-sm">
|
<p className="text-muted-foreground text-sm">
|
||||||
The full game event ledger — system actions and GM narrative events. Filter by type,
|
The full game event ledger: system actions and GM narrative events. Filter by type,
|
||||||
target, source, or date range.
|
target, source, or date range.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ function actorLabel(actor: EventRow["actor"]): string {
|
||||||
}
|
}
|
||||||
|
|
||||||
function structureLabel(structure: EventRow["structure"]): string {
|
function structureLabel(structure: EventRow["structure"]): string {
|
||||||
if (structure == null) return "—";
|
if (structure == null) return "-";
|
||||||
if (typeof structure === "number") return `#${structure}`;
|
if (typeof structure === "number") return `#${structure}`;
|
||||||
return structure.name || "Unknown structure";
|
return structure.name || "Unknown structure";
|
||||||
}
|
}
|
||||||
|
|
@ -338,7 +338,7 @@ export default function EventLogTable() {
|
||||||
className="w-36"
|
className="w-36"
|
||||||
aria-label="From date"
|
aria-label="From date"
|
||||||
/>
|
/>
|
||||||
<span className="text-muted-foreground text-xs">–</span>
|
<span className="text-muted-foreground text-xs">-</span>
|
||||||
<Input
|
<Input
|
||||||
type="date"
|
type="date"
|
||||||
value={dateTo}
|
value={dateTo}
|
||||||
|
|
@ -426,7 +426,7 @@ export default function EventLogTable() {
|
||||||
? `${TARGET_COLLECTION_LABELS[row.targetCollection] ?? row.targetCollection}${
|
? `${TARGET_COLLECTION_LABELS[row.targetCollection] ?? row.targetCollection}${
|
||||||
row.targetId != null ? ` #${row.targetId}` : ""
|
row.targetId != null ? ` #${row.targetId}` : ""
|
||||||
}`
|
}`
|
||||||
: "—"}
|
: "-"}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
);
|
);
|
||||||
|
|
@ -439,7 +439,7 @@ export default function EventLogTable() {
|
||||||
{/* Pagination */}
|
{/* Pagination */}
|
||||||
<div className="flex flex-wrap items-center justify-between gap-2">
|
<div className="flex flex-wrap items-center justify-between gap-2">
|
||||||
<span className="text-muted-foreground text-xs">
|
<span className="text-muted-foreground text-xs">
|
||||||
Showing {from.toLocaleString()}–{to.toLocaleString()} of {totalDocs.toLocaleString()}
|
Showing {from.toLocaleString()}-{to.toLocaleString()} of {totalDocs.toLocaleString()}
|
||||||
</span>
|
</span>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<Select
|
<Select
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue