diff --git a/.changeset/dull-melons-beam.md b/.changeset/dull-melons-beam.md new file mode 100644 index 000000000..e37781032 --- /dev/null +++ b/.changeset/dull-melons-beam.md @@ -0,0 +1,5 @@ +--- +'gitbook': patch +--- + +Fix shrinking page icons diff --git a/packages/gitbook/src/components/TableOfContents/TOCPageIcon.tsx b/packages/gitbook/src/components/TableOfContents/TOCPageIcon.tsx index 63b0e183a..08e0431c4 100644 --- a/packages/gitbook/src/components/TableOfContents/TOCPageIcon.tsx +++ b/packages/gitbook/src/components/TableOfContents/TOCPageIcon.tsx @@ -17,6 +17,7 @@ export function TOCPageIcon({ page }: { page: RevisionPage }) { 'dark:text-light/6', 'group-aria-current-page/toclink:text-primary', 'group-aria-current-page/toclink:dark:text-primary-400', + 'shrink-0', )} /> );