From 562fb5c5ca2c83dd5141580594c708bbf5eb6f8f Mon Sep 17 00:00:00 2001 From: Lucas Li <35748253+yzlucas@users.noreply.github.com> Date: Thu, 19 Dec 2024 13:46:35 -0800 Subject: [PATCH] adjust the evac card height in dashboard accordingly (#2170) --- .../evacuations-widget/evacuations-widget.component.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 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 d61cf10b47..5b2de2e12d 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,7 +6,8 @@ overflow: hidden; font-family: "Noto sans", "BCSans", "Open Sans", Verdana, Arial, sans-serif; display: flex; - height: 640px; + min-height: 540px; + height: fit-content; max-height: 640px; padding: var(--24, 24px); flex-direction: column; @@ -101,7 +102,7 @@ overflow: hidden; font-family: "Noto sans", "BCSans", "Open Sans", Verdana, Arial, sans-serif; display: flex; - height: 640px; + height: fit-content; max-width: 850px; max-height: 640px; padding: var(--24, 24px); @@ -197,7 +198,7 @@ overflow: hidden; font-family: "Noto sans", "BCSans", "Open Sans", Verdana, Arial, sans-serif; display: flex; - height: 558px; + height: fit-content; flex-direction: column; align-items: flex-start; gap: 12px;