Skip to content

Commit 6978865

Browse files
authoredDec 9, 2024··
fix(PageHeader): use display block insteaf of flex when FF off (#5402)
* fix(PageHeader): use display block insteaf of flex when FF off * Create cold-bags-move.md
1 parent d57b1de commit 6978865

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎.changeset/cold-bags-move.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
fix(PageHeader): use display block insteaf of flex when FF off

‎packages/react/src/PageHeader/PageHeader.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ const Title: React.FC<React.PropsWithChildren<TitleProps>> = ({
546546
display: 'flex',
547547
order: TITLE_AREA_REGION_ORDER.Title,
548548
...getBreakpointDeclarations(hidden, 'display', value => {
549-
return value ? 'none' : 'flex'
549+
return value ? 'none' : 'block'
550550
}),
551551
fontSize: 'inherit',
552552
fontWeight: 'inherit',

0 commit comments

Comments
 (0)
Please sign in to comment.