fix(ui): unify layout wrappers and simplify player/shop detail pages

This commit is contained in:
zetaloop
2026-02-23 11:05:29 +08:00
parent c986539954
commit 4fce328ef1
11 changed files with 79 additions and 79 deletions
+7 -5
View File
@@ -16,7 +16,7 @@ export default function ChatListPage() {
<div className="container mx-auto py-8 px-4 max-w-2xl">
<h1 className="text-2xl font-bold mb-6"></h1>
<div className="space-y-2">
<div className="space-y-3">
{sessions.map((session) => {
const other =
session.participants.find((participant) => participant.id !== userId) ??
@@ -58,10 +58,12 @@ export default function ChatListPage() {
})}
{sessions.length === 0 && (
<div className="text-center py-12 text-muted-foreground">
<MessageSquare className="h-12 w-12 mx-auto mb-2 opacity-50" />
</div>
<Card>
<CardContent className="py-8 text-center text-sm text-muted-foreground">
<MessageSquare className="h-12 w-12 mx-auto mb-2 opacity-50" />
</CardContent>
</Card>
)}
</div>
</div>