Skip to content

Commit

Permalink
Fix h4 font size
Browse files Browse the repository at this point in the history
  • Loading branch information
pwizla committed Jan 23, 2025
1 parent 6235977 commit 7541bff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docusaurus/src/scss/_tokens.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
--strapi-font-size-ssm: 0.8125rem; // 13px
--strapi-font-size-sm: 0.875rem; // 14px
--strapi-font-size-md: 1rem; // 16px
--strapi-font-size-lg: 1.125rem; // 18px
--strapi-font-size-lg: 1.25rem; // 20px
--strapi-font-size-xl: 1.5rem; // 24px
--strapi-font-size-xxl: 1.75rem; // 28px
--strapi-font-size-xxxl: 2rem; // 32px
Expand Down
2 changes: 1 addition & 1 deletion docusaurus/src/scss/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ h3, .markdown > h3 {
}

h4, .markdown > h4 {
--ifm-h3-font-size: var(--strapi-font-size-lg);
--ifm-h4-font-size: var(--strapi-font-size-lg);
line-height: var(--strapi-line-height-lg);
}

Expand Down

0 comments on commit 7541bff

Please sign in to comment.