fix: Retain space for hidden TOC to prevent horizontal movement

This commit is contained in:
Tom Moor
2024-07-07 20:21:51 -04:00
parent 49198aafe9
commit 07b6441655

View File

@@ -54,7 +54,7 @@ export default function Contents({ headings }: Props) {
const { t } = useTranslation(); const { t } = useTranslation();
if (headings.length === 0) { if (headings.length === 0) {
return null; return <StickyWrapper />;
} }
return ( return (