From c1f37ce46df6486993e6eedad70fa4563df7d6f2 Mon Sep 17 00:00:00 2001 From: Armagan Ersoz Date: Mon, 15 Jul 2024 12:21:51 +1000 Subject: [PATCH 1/2] PageHeader: Fix shrinking actions part in safari --- packages/react/src/PageHeader/PageHeader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/PageHeader/PageHeader.tsx b/packages/react/src/PageHeader/PageHeader.tsx index 5cb35a1fa72..45108a8c86d 100644 --- a/packages/react/src/PageHeader/PageHeader.tsx +++ b/packages/react/src/PageHeader/PageHeader.tsx @@ -577,7 +577,7 @@ const Actions: React.FC> = ({ flexDirection: 'row', paddingLeft: '0.5rem', gap: '0.5rem', - flexGrow: '1', + minWidth: 'max-content', justifyContent: 'right', alignItems: 'center', }, From b2fdca36b94996131452647e821bc1de0a320c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arma=C4=9Fan?= Date: Mon, 15 Jul 2024 12:56:10 +1000 Subject: [PATCH 2/2] Create slow-rivers-know.md --- .changeset/slow-rivers-know.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/slow-rivers-know.md diff --git a/.changeset/slow-rivers-know.md b/.changeset/slow-rivers-know.md new file mode 100644 index 00000000000..4b024324fa5 --- /dev/null +++ b/.changeset/slow-rivers-know.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +PageHeader: Fix shrinking Actions sub component in Safari