diff --git a/.changeset/slimy-hornets-share.md b/.changeset/slimy-hornets-share.md new file mode 100644 index 000000000..bfeef2279 --- /dev/null +++ b/.changeset/slimy-hornets-share.md @@ -0,0 +1,5 @@ +--- +"gitbook": patch +--- + +Consistently show variant selector in section bar if site has sections diff --git a/packages/gitbook/src/components/Header/Header.tsx b/packages/gitbook/src/components/Header/Header.tsx index 304e85313..f3bd145d5 100644 --- a/packages/gitbook/src/components/Header/Header.tsx +++ b/packages/gitbook/src/components/Header/Header.tsx @@ -202,7 +202,7 @@ export function Header(props: { context: GitBookSiteContext; withTopHeader?: boo {siteSpaces.length > 1 && (
)} - {isMultiVariants && ( + {isMultiVariants && !sections && (