Bump heading-3 font size to differentiate it from paragraphs (#2706)

This commit is contained in:
Zeno Kapitein
2025-01-09 16:43:04 +01:00
committed by GitHub
parent 02d876e6d8
commit 741dd490d4
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'gitbook': patch
---
Bump `heading-3` font size to offset it from paragraphs
@@ -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]',
};