diff --git a/.changeset/wild-lemons-camp.md b/.changeset/wild-lemons-camp.md new file mode 100644 index 000000000..19bd5cdee --- /dev/null +++ b/.changeset/wild-lemons-camp.md @@ -0,0 +1,5 @@ +--- +'gitbook': patch +--- + +Bump `heading-3` font size to offset it from paragraphs diff --git a/packages/gitbook/src/components/DocumentView/spacing.ts b/packages/gitbook/src/components/DocumentView/spacing.ts index c628722ba..46c1ee656 100644 --- a/packages/gitbook/src/components/DocumentView/spacing.ts +++ b/packages/gitbook/src/components/DocumentView/spacing.ts @@ -37,7 +37,7 @@ export function getBlockTextStyle(block: DocumentBlock): { }; case 'heading-3': return { - textSize: 'text-base font-semibold', + textSize: 'text-xl font-semibold', lineHeight: 'leading-snug', marginTop: 'mt-[0.5em]', };