Skip to content

Commit

Permalink
fix ToC visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu authored and mahesh-panchal committed Nov 19, 2024
1 parent b37970c commit 9ea0489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/main-site/src/layouts/MarkdownTocLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const {
sidebarTitle = '',
} = Astro.props;
const minNumHeadings = 3;
const minNumHeadings = 2;
const leftSidebarWidth = 3;
const rightSidebarWidth = 3;
const showRightSidebar = headings.length > minNumHeadings || rightSidebar;
Expand Down

0 comments on commit 9ea0489

Please sign in to comment.