From c99316be8c99a2329db4c75c79df9204d5faea96 Mon Sep 17 00:00:00 2001 From: Matt Kirby <MattJKirby@outlook.com> Date: Tue, 14 Mar 2023 19:02:45 +0000 Subject: [PATCH] Changed navbar --- daily-thought-frontend/src/components/navigation/NavBar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daily-thought-frontend/src/components/navigation/NavBar.tsx b/daily-thought-frontend/src/components/navigation/NavBar.tsx index 546fc023..839bc5b0 100644 --- a/daily-thought-frontend/src/components/navigation/NavBar.tsx +++ b/daily-thought-frontend/src/components/navigation/NavBar.tsx @@ -83,7 +83,7 @@ const NavBar: FC<PropsWithChildren<NavBarProps>> = ({ <div> <Menu.Button className="flex max-w-xs items-center rounded-full bg-green-400 text-sm focus:outline-none focus:ring-2 focus:ring-white focus:ring-offset-2 focus:ring-offset-pink-400"> <span className="sr-only">Open user menu</span> - <img className="h-8 w-8 rounded-full" src={user.imageUrl} alt="" /> + <img className="h-8 w-8 rounded-full" src={user.Avatar} alt="" /> </Menu.Button> </div> <Transition @@ -186,7 +186,7 @@ const NavBar: FC<PropsWithChildren<NavBarProps>> = ({ )} </Disclosure> <main> - <div className="mx-auto max-w-7xl py-6 sm:px-6 lg:px-8">{children}</div> + <div className="mx-auto max-w-7xl p-3 sm:px-6 lg:px-8">{children}</div> </main> </div> </> -- GitLab