max width to the entire page layout

This commit is contained in:
Emi Matchu 2020-09-06 18:45:20 -07:00
parent b086a4a8d7
commit c9ef20edf7
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ function ItemsPage() {
}
return (
<Box maxWidth="800px" margin="0 auto">
<Box>
<Heading1 marginBottom="8">
{isCurrentUser ? "Items you own" : `Items ${data.user.username} owns`}
</Heading1>

View file

@ -11,7 +11,7 @@ import HomepageSplashImg from "../images/homepage-splash.png";
function PageLayout({ children, hideHomeLink }) {
return (
<Box padding="6" paddingTop="3">
<Box padding="6" paddingTop="3" maxWidth="800px" margin="0 auto">
<Box
width="100%"
display="flex"