Skip to content

Commit e756d73

Browse files
fix(theme): forward className prop in theme-classic's Heading (#8350)
Fixes #8327
1 parent 57c632b commit e756d73

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/docusaurus-theme-classic/src/theme/Heading

packages/docusaurus-theme-classic/src/theme/Heading/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default function Heading({as: As, id, ...props}: Props): JSX.Element {
3030
hideOnScroll
3131
? styles.anchorWithHideOnScrollNavbar
3232
: styles.anchorWithStickyNavbar,
33+
props.className,
3334
)}
3435
id={id}>
3536
{props.children}

0 commit comments

Comments
 (0)