fix: Retain space for hidden TOC to prevent horizontal movement
This commit is contained in:
@@ -54,7 +54,7 @@ export default function Contents({ headings }: Props) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
if (headings.length === 0) {
|
||||
return null;
|
||||
return <StickyWrapper />;
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user