diff --git a/packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx b/packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx index 1b67acc4b..927f1429b 100644 --- a/packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx +++ b/packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx @@ -171,46 +171,52 @@ export function SpaceLayout(props: SpaceLayoutProps) { // according to the header/variant settings. // E.g if there is no header, the search button will be displayed in the ToC. innerHeader={ - <> - {!withTopHeader && ( -