Skip to content

Fix typeface showcase headings rendering in the wrong font - #321

Open
zoharma wants to merge 1 commit into
mainfrom
zma/typography-doc-font-fix
Open

zoharma wants to merge 1 commit into
mainfrom
zma/typography-doc-font-fix

Conversation

@zoharma

@zoharma zoharma commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

MDX wrapped the h3 heading text in an implicit <p>, and a global Storybook CSS rule forces font-family on all <p> with !important, overriding each heading's intended typeface

  • Fix: Pass each heading's text as a JSX expression so MDX doesn't parse it as a markdown paragraph

MDX wrapped the h3 heading text in an implicit <p>, and a global Storybook CSS rule forces font-family on all <p> with !important, overriding each heading's intended typeface
- Fix: Pass each heading's text as a JSX expression so MDX doesn't parse it as a markdown paragraph
@zoharma zoharma added this to the 0.7.2 milestone Sep 17, 2026
@zoharma
zoharma requested a review from a team September 17, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant