Skip to content

Commit 4532793

Browse files
PageHeader: Fix shrinking Actions sub component in Safari (#4738)
* PageHeader: Fix shrinking actions part in safari * Create slow-rivers-know.md
1 parent cef7521 commit 4532793

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/slow-rivers-know.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
PageHeader: Fix shrinking Actions sub component in Safari

packages/react/src/PageHeader/PageHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ const Actions: React.FC<React.PropsWithChildren<ChildrenPropTypes>> = ({
579579
flexDirection: 'row',
580580
paddingLeft: '0.5rem',
581581
gap: '0.5rem',
582-
flexGrow: '1',
582+
minWidth: 'max-content',
583583
justifyContent: 'right',
584584
alignItems: 'center',
585585
},

0 commit comments

Comments
 (0)