File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11import { useDoc } from '@docusaurus/plugin-content-docs/client' ;
22import { useLocation } from '@docusaurus/router' ;
3+ import { ThemeClassNames } from '@docusaurus/theme-common' ;
34import Heading from '@theme/Heading' ;
45import MDXContent from '@theme/MDXContent' ;
6+ import clsx from 'clsx' ;
57import React from 'react' ;
68
79import LLMButtons from '../../../components/LLMButtons' ;
@@ -50,10 +52,10 @@ export default function DocItemContent({ children }) {
5052 const shouldShowLLMButtons = allowedPaths . some ( ( path ) => location . pathname . startsWith ( path ) ) ;
5153
5254 return (
53- < >
55+ < div className = { ThemeClassNames . docs . docMarkdown } >
5456 { syntheticTitle && < Heading as = "h1" > { syntheticTitle } </ Heading > }
5557 { shouldShowLLMButtons && < LLMButtons /> }
5658 < MDXContent > { children } </ MDXContent >
57- </ >
59+ </ div >
5860 ) ;
5961}
You can’t perform that action at this time.
0 commit comments