Skip to content

Commit

Permalink
fix(content-pages): add article wrapper around MDXContent (#7595)
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Jun 16, 2022
1 parent 7e9a38c commit 5fe33be
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/docusaurus-theme-classic/src/theme/MDXPage/index.tsx
Expand Up @@ -38,9 +38,11 @@ export default function MDXPage(props: Props): JSX.Element {
<main className="container container--fluid margin-vert--lg">
<div className={clsx('row', styles.mdxPageWrapper)}>
<div className={clsx('col', !hideTableOfContents && 'col--8')}>
<MDXContent>
<MDXPageContent />
</MDXContent>
<article>
<MDXContent>
<MDXPageContent />
</MDXContent>
</article>
</div>
{!hideTableOfContents && MDXPageContent.toc.length > 0 && (
<div className="col col--2">
Expand Down

0 comments on commit 5fe33be

Please sign in to comment.