From fb488d16d571077824e53d85d32a4a259709bde7 Mon Sep 17 00:00:00 2001 From: rishit-singh Date: Wed, 27 Dec 2023 00:40:47 -0800 Subject: [PATCH] Added left and right margins to ExecProfile --- frontend/src/app/ExecProfile.tsx | 2 +- frontend/src/app/about/AboutPage.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/ExecProfile.tsx b/frontend/src/app/ExecProfile.tsx index 7c0db4a..a1f1fe1 100644 --- a/frontend/src/app/ExecProfile.tsx +++ b/frontend/src/app/ExecProfile.tsx @@ -27,7 +27,7 @@ const PositionStrings: string[] = [ export default function ExecProfile({ID, Name, ImageBuffer, Position, Description} : ExecProfileProps) { return ( -
+
diff --git a/frontend/src/app/about/AboutPage.tsx b/frontend/src/app/about/AboutPage.tsx index ab34383..852198e 100644 --- a/frontend/src/app/about/AboutPage.tsx +++ b/frontend/src/app/about/AboutPage.tsx @@ -19,6 +19,7 @@ export function AboutPage({} : AboutPageProps) const mainDispatch = useAppDispatch(); + // fetch the profiles if not done already useEffect(() => { (async () => { if (execProfiles.length < 1)