style(order): apply proto2 surfaces

This commit is contained in:
zetaloop
2026-02-25 05:19:13 +08:00
parent 3f3172fabb
commit b57fe7f9dd
5 changed files with 31 additions and 28 deletions
+6 -6
View File
@@ -150,16 +150,16 @@ export default function DisputePage({ params }: { params: Promise<{ id: string }
isParticipant && existingDispute.status === "resolved" && !existingDispute.appealedAt
return (
<div className="container mx-auto py-8 px-4 max-w-2xl">
<div className="container mx-auto max-w-2xl px-4 py-8 space-y-4">
<Link
href={`/order/${id}`}
className="inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground mb-4"
className="inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground"
>
<ArrowLeft className="h-4 w-4" />
</Link>
<Card>
<Card className="hover:shadow-[var(--shadow-card)]">
<CardHeader>
<div className="flex items-center justify-between">
<CardTitle></CardTitle>
@@ -384,16 +384,16 @@ export default function DisputePage({ params }: { params: Promise<{ id: string }
}
return (
<div className="container mx-auto py-8 px-4 max-w-lg">
<div className="container mx-auto max-w-lg px-4 py-8 space-y-4">
<Link
href={`/order/${id}`}
className="inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground mb-4"
className="inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground"
>
<ArrowLeft className="h-4 w-4" />
</Link>
<Card>
<Card className="hover:shadow-[var(--shadow-card)]">
<CardHeader>
<CardTitle className="flex items-center gap-2">
<AlertTriangle className="h-5 w-5 text-yellow-500" />