From 86134a34bb487a87b32eda7613385c9223dbc55e Mon Sep 17 00:00:00 2001 From: Bas van Rossem Date: Thu, 19 Feb 2026 17:23:57 +0100 Subject: [PATCH] fix(web): use "max N" label and center combat stat cards Co-Authored-By: Claude Opus 4.6 --- web/src/components/dashboard/VitalsSection.tsx | 4 ++-- web/src/index.css | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/web/src/components/dashboard/VitalsSection.tsx b/web/src/components/dashboard/VitalsSection.tsx index 346a253..2ca6720 100644 --- a/web/src/components/dashboard/VitalsSection.tsx +++ b/web/src/components/dashboard/VitalsSection.tsx @@ -12,7 +12,7 @@ export default function VitalsSection({ ship, onUpdate }: Props) {
onUpdate({ hull_current: v })} @@ -20,7 +20,7 @@ export default function VitalsSection({ ship, onUpdate }: Props) {
onUpdate({ armor_current: v })} diff --git a/web/src/index.css b/web/src/index.css index 342b25b..6f66763 100644 --- a/web/src/index.css +++ b/web/src/index.css @@ -332,6 +332,9 @@ button:disabled { border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--spacing-sm); + display: flex; + flex-direction: column; + align-items: center; } .stat-grid {