style(web): put the timestamp first in HistoryEntry to match NetworkEntry
Move the Client/Server direction badge to the right of the timestamp so the monospace timestamp is leftmost, matching the NetworkEntry header layout. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
aba77d47f5
commit
bcf10c75dd
1 changed files with 1 additions and 1 deletions
|
|
@ -124,12 +124,12 @@ export function HistoryEntry({
|
||||||
<Stack gap="sm">
|
<Stack gap="sm">
|
||||||
<HeaderRow>
|
<HeaderRow>
|
||||||
<Group gap="sm">
|
<Group gap="sm">
|
||||||
|
<TimestampText>{formatTimestamp(entry.timestamp)}</TimestampText>
|
||||||
{entry.origin && (
|
{entry.origin && (
|
||||||
<MessageDirectionBadge
|
<MessageDirectionBadge
|
||||||
direction={entry.origin === "client" ? "outgoing" : "incoming"}
|
direction={entry.origin === "client" ? "outgoing" : "incoming"}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<TimestampText>{formatTimestamp(entry.timestamp)}</TimestampText>
|
|
||||||
<Badge color="dark">{method}</Badge>
|
<Badge color="dark">{method}</Badge>
|
||||||
{target && <TargetText>{target}</TargetText>}
|
{target && <TargetText>{target}</TargetText>}
|
||||||
</Group>
|
</Group>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue