From 5f5aa4a30dbd9d07a63053c66acf560f8849f991 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 16 Oct 2026 19:21:09 +0000 Subject: [PATCH] fix(web): match mobile server cards to the DWztv design The design.pen regroup (#702) re-exported DWztv with the status badge and metric pills as component instances: a 17px pill-shaped badge and 28px pills. The app still drew a 24px square-cornered badge, 31px pills, a card shadow and a lighter address line, which pushed the visual diff for DWztv to 4.12% (max 4%) on master. Co-Authored-By: Claude Opus 5.5 (1M context) Signed-off-by: Claude --- web/src/routes/Servers.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/routes/Servers.tsx b/web/src/routes/Servers.tsx index ade11636a..30b7b7398 100644 --- a/web/src/routes/Servers.tsx +++ b/web/src/routes/Servers.tsx @@ -578,7 +578,7 @@ function ServerCard({ const address = endpoint ? `${endpoint.host}:${endpoint.port}` : "—"; return ( - + {/* Row 1: Icon + Name + Address on left, Status pill on right */}
@@ -598,12 +598,12 @@ function ServerCard({ {gs.metadata.name}
{targetLabel(resourceTarget(gs))}
-
+
{address}
- +
{/* Row 2: Game label */} @@ -622,7 +622,7 @@ function ServerCard({ function StatChip({ icon, value }: { icon: ReactNode; value: ReactNode }) { return ( - + {icon} {value}