From d507f6ef6729b509000ed85ce909d41d65475619 Mon Sep 17 00:00:00 2001 From: Biyeun Buczyk Date: Mon, 2 Sep 2024 14:48:54 +0200 Subject: [PATCH] fix dashboard icon top alignment and height of cards when base font size is scaled above normal size --- .../apps/hqwebapp/static/dashboard/scss/dashboard-main.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/corehq/apps/hqwebapp/static/dashboard/scss/dashboard-main.scss b/corehq/apps/hqwebapp/static/dashboard/scss/dashboard-main.scss index fc553838577e..4953970e7448 100644 --- a/corehq/apps/hqwebapp/static/dashboard/scss/dashboard-main.scss +++ b/corehq/apps/hqwebapp/static/dashboard/scss/dashboard-main.scss @@ -31,7 +31,7 @@ $card-dashboard-header-bg: $navbar-default-bg; .dashboard-icon-bg { position: absolute; - top: 57px; + top: 4.75 * $font-size-base; left: 0; width: 100%; text-align: center; @@ -58,7 +58,7 @@ $card-dashboard-header-bg: $navbar-default-bg; } .card-dashboard-medium { - height: 275px; + height: 22.9167 * $font-size-base; position: relative; .list-group {