From 3484633984380d7138f034784b923c1c1471a19b Mon Sep 17 00:00:00 2001 From: Phil Bain Date: Thu, 28 Apr 2022 13:00:26 -0600 Subject: [PATCH] Fix/UI bugs (#439) * fix spacing issue with header links * fix spacing on executive card * move polls to single column at bpi 2 * dont wrap footer links columns at larger bpi --- modules/app/components/layout/Header.tsx | 5 +++-- .../components/ExecutiveOverviewCard.tsx | 19 +++++++++++++++---- modules/home/components/Footer.tsx | 2 +- .../home/components/PollsOverviewLanding.tsx | 2 +- 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/modules/app/components/layout/Header.tsx b/modules/app/components/layout/Header.tsx index f6a509103..0af7998bd 100644 --- a/modules/app/components/layout/Header.tsx +++ b/modules/app/components/layout/Header.tsx @@ -245,7 +245,7 @@ const Header = (): JSX.Element => { title="View delegates page" p={0} sx={{ - display: ['none', 'block'], + display: ['none', 'flex'], ml: [0, 4, 4, 5], color: router?.asPath?.startsWith('/delegates') ? 'primary' : undefined }} @@ -258,7 +258,8 @@ const Header = (): JSX.Element => { title="View emergency shutdown module page" p={0} sx={{ - display: ['none', 'block'], + flexShrink: 0, + display: ['none', 'flex'], ml: [0, 4, 4, 5], mr: [0, 'auto', 4, 5], color: router?.asPath?.startsWith('/esmodule') ? 'primary' : undefined diff --git a/modules/executive/components/ExecutiveOverviewCard.tsx b/modules/executive/components/ExecutiveOverviewCard.tsx index e18b420cf..048dca15f 100644 --- a/modules/executive/components/ExecutiveOverviewCard.tsx +++ b/modules/executive/components/ExecutiveOverviewCard.tsx @@ -118,9 +118,20 @@ export default function ExecutiveOverviewCard({ )} - +