diff --git a/daily-thought-frontend/src/components/navigation/NavBar.tsx b/daily-thought-frontend/src/components/navigation/NavBar.tsx index 546fc023d7d060cda864f76882999da9f17ed49a..839bc5b028df11f69309d3f857c9c3731ca11f69 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> </>