Reduce the custom content width and center it. For #1860

This commit is contained in:
Gabe Kangas
2022-08-14 18:33:04 -07:00
parent c9321b2dda
commit 44dde66b08
2 changed files with 19 additions and 2 deletions

View File

@@ -7,5 +7,9 @@ interface Props {
export default function CustomPageContent(props: Props) {
const { content } = props;
// eslint-disable-next-line react/no-danger
return <div className={s.customPageContent} dangerouslySetInnerHTML={{ __html: content }} />;
return (
<div className={s.pageContentContainer}>
<div className={s.customPageContent} dangerouslySetInnerHTML={{ __html: content }} />
</div>
);
}