From 469439eec2e57667ea63d904823dd990a3dc6f8a Mon Sep 17 00:00:00 2001 From: "[Halp!]Pat" <114955514+halp-pat@users.noreply.github.com> Date: Wed, 5 Oct 2022 10:18:08 -0700 Subject: [PATCH] Stat Card values should be on the same line --- app/routes/analyzer.tsx | 8 +++++--- app/styles/analyzer.css | 5 +++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/app/routes/analyzer.tsx b/app/routes/analyzer.tsx index e702bacc7..d66e243e9 100644 --- a/app/routes/analyzer.tsx +++ b/app/routes/analyzer.tsx @@ -772,9 +772,11 @@ function StatCard({ )} - {typeof stat !== "number" && ( - - )} +
+ {typeof stat !== "number" && ( + + )} +
); } diff --git a/app/styles/analyzer.css b/app/styles/analyzer.css index 2cfab5c31..6028ba9de 100644 --- a/app/styles/analyzer.css +++ b/app/styles/analyzer.css @@ -91,6 +91,7 @@ display: flex; height: 100%; flex-direction: column; + flex-grow: 1; justify-content: space-between; } @@ -101,6 +102,10 @@ word-break: break-word; } +.analyzer__stat-card__ability-container { + min-height: 22px; +} + .analyzer__stat-card__popover { display: inline; }