From 2eefbf04e5c3ea8d9a0d6e8d48d7abd7ac97c3ee Mon Sep 17 00:00:00 2001 From: Lucas Li <35748253+yzlucas@users.noreply.github.com> Date: Thu, 19 Dec 2024 14:26:37 -0800 Subject: [PATCH] evac card in dashboard should have fixed height 640px to match the height with Resources Assigned Card (#2171) --- .../evacuations-widget/evacuations-widget.component.scss | 3 +-- .../widgets/resources-widget/resources-widget.component.scss | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/wfnews-war/src/main/angular/src/app/components/dashboard-component/widgets/evacuations-widget/evacuations-widget.component.scss b/client/wfnews-war/src/main/angular/src/app/components/dashboard-component/widgets/evacuations-widget/evacuations-widget.component.scss index 5b2de2e12d..f91097c6cf 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/dashboard-component/widgets/evacuations-widget/evacuations-widget.component.scss +++ b/client/wfnews-war/src/main/angular/src/app/components/dashboard-component/widgets/evacuations-widget/evacuations-widget.component.scss @@ -6,8 +6,7 @@ overflow: hidden; font-family: "Noto sans", "BCSans", "Open Sans", Verdana, Arial, sans-serif; display: flex; - min-height: 540px; - height: fit-content; + height: 640px; max-height: 640px; padding: var(--24, 24px); flex-direction: column; diff --git a/client/wfnews-war/src/main/angular/src/app/components/dashboard-component/widgets/resources-widget/resources-widget.component.scss b/client/wfnews-war/src/main/angular/src/app/components/dashboard-component/widgets/resources-widget/resources-widget.component.scss index 0e66c68e57..718b1ec4bd 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/dashboard-component/widgets/resources-widget/resources-widget.component.scss +++ b/client/wfnews-war/src/main/angular/src/app/components/dashboard-component/widgets/resources-widget/resources-widget.component.scss @@ -3,6 +3,7 @@ @media (min-width: $desktop-md-min-width) { .container { + height: 640px; overflow: hidden; font-family: "Noto sans", "BCSans", "Open Sans", Verdana, Arial, sans-serif; display: flex;