Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
do not inherit font and line styles from parent for description and n…
…avigation slot
  • Loading branch information
broccolinisoup committed Jun 13, 2024
commit ceb02ed8ec4f3c16275920097ff337cf4aa6a8d2
7 changes: 7 additions & 0 deletions packages/react/src/PageHeader/PageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ const Title: React.FC<React.PropsWithChildren<TitleProps>> = ({children, sx = {}
}),
fontSize: 'inherit',
fontWeight: 'inherit',
lineHeight: 'inherit',
},
sx,
)}
Expand Down Expand Up @@ -552,6 +553,9 @@ const Description: React.FC<React.PropsWithChildren<ChildrenPropTypes>> = ({chil
alignItems: 'center',
paddingTop: '0.5rem',
gap: '0.5rem',
fontSize: 'initial',
fontWeight: 'initial',
lineHeight: 'initial',
},
sx,
)}
Expand Down Expand Up @@ -596,6 +600,9 @@ const Navigation: React.FC<React.PropsWithChildren<NavigationProps>> = ({
...getBreakpointDeclarations(hidden, 'display', value => {
return value ? 'none' : 'block'
}),
fontSize: 'initial',
fontWeight: 'initial',
lineHeight: 'initial',
},
sx,
)}
Expand Down