Skip to content

Commit

Permalink
fix page layout
Browse files Browse the repository at this point in the history
  • Loading branch information
minaxolone committed May 31, 2024
1 parent e3571ff commit 3791436
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions web-app/src/modules/ui/Page/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,15 @@ const Page: FC<Props> = ({ title, children, __deprecated_grayBg: grayBg, mainCla
</header>
)}

<main
<div
className={clsx(
'max-w-screen-2xl mx-auto',
'py-3 px-3 flex-grow',
grayBg && 'bg-gray-100',
mainClassName && mainClassName,
)}
>
{children}
</main>
<main className="max-w-screen-2xl mx-auto">{children}</main>
</div>
</>
);
};
Expand Down

0 comments on commit 3791436

Please sign in to comment.