We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbac4e8 commit 14fc012Copy full SHA for 14fc012
apify-docs-theme/src/theme/DocItemContent/index.js
@@ -66,10 +66,12 @@ export default function DocItemContent({ children }) {
66
67
return (
68
<div className={clsx(ThemeClassNames.docs.docMarkdown, 'markdown')}>
69
- <div className={styles.docItemContent}>
70
- {syntheticTitle && <Heading as="h1">{syntheticTitle}</Heading>}
71
- {shouldShowLLMButtons && <LLMButtons />}
72
- </div>
+ {(syntheticTitle || shouldShowLLMButtons) && (
+ <div className={styles.docItemContent}>
+ {syntheticTitle && <Heading as="h1">{syntheticTitle}</Heading>}
+ {shouldShowLLMButtons && <LLMButtons />}
73
+ </div>
74
+ )}
75
<MDXContent>{children}</MDXContent>
76
</div>
77
);
0 commit comments