From 918547b87b672be497d6d97b9ae362b6fcd9ba09 Mon Sep 17 00:00:00 2001 From: marcosmro Date: Thu, 28 Jan 2021 13:01:27 -0800 Subject: [PATCH] Ensure all cards have the same height and adjust footer margins --- phs-gdc-dashboard/src/components/AppContent.js | 2 +- phs-gdc-dashboard/src/components/AppFooter.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/phs-gdc-dashboard/src/components/AppContent.js b/phs-gdc-dashboard/src/components/AppContent.js index 02fd42a..b28380d 100644 --- a/phs-gdc-dashboard/src/components/AppContent.js +++ b/phs-gdc-dashboard/src/components/AppContent.js @@ -13,7 +13,7 @@ const useStyles = makeStyles((theme) => ({ padding: "4vh", }, card: { - minHeight: "75vh", + height: "100%", padding: theme.spacing(2), textAlign: 'center', color: theme.palette.text.secondary, diff --git a/phs-gdc-dashboard/src/components/AppFooter.js b/phs-gdc-dashboard/src/components/AppFooter.js index c3b02be..97dbb26 100644 --- a/phs-gdc-dashboard/src/components/AppFooter.js +++ b/phs-gdc-dashboard/src/components/AppFooter.js @@ -6,6 +6,7 @@ const useStyles = makeStyles((theme) => ({ textAlign: "center", fontSize: "0.8em", lineHeight: "1.5em", + margin: theme.spacing(3), }, }));