Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 5 additions & 0 deletions .changeset/slow-rivers-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

PageHeader: Fix shrinking Actions sub component in Safari
2 changes: 1 addition & 1 deletion packages/react/src/PageHeader/PageHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ const Actions: React.FC<React.PropsWithChildren<ChildrenPropTypes>> = ({
flexDirection: 'row',
paddingLeft: '0.5rem',
gap: '0.5rem',
flexGrow: '1',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flexGrow doesn't have any impact since the parent is grid. I removed this.

minWidth: 'max-content',
justifyContent: 'right',
alignItems: 'center',
},
Expand Down