diff --git a/.changeset/section-tabs-phantom-scroll.md b/.changeset/section-tabs-phantom-scroll.md new file mode 100644 index 000000000..0e5d0e6ce --- /dev/null +++ b/.changeset/section-tabs-phantom-scroll.md @@ -0,0 +1,5 @@ +--- +"gitbook": patch +--- + +Stop the section tabs in the header from showing a scroll button and faded edge when all tabs already fit. diff --git a/packages/gitbook/src/components/SiteSections/SiteSectionTabs.tsx b/packages/gitbook/src/components/SiteSections/SiteSectionTabs.tsx index eca980535..0efc75e6d 100644 --- a/packages/gitbook/src/components/SiteSections/SiteSectionTabs.tsx +++ b/packages/gitbook/src/components/SiteSections/SiteSectionTabs.tsx @@ -79,9 +79,9 @@ export function SiteSectionTabs(props: { >