From 92f5667a8ac67d2f7e8fee53c57c37af69a523a5 Mon Sep 17 00:00:00 2001 From: jasmussen Date: Thu, 2 May 2024 12:44:05 +0200 Subject: [PATCH 1/2] Fix styles panel header --- packages/components/src/panel/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/components/src/panel/style.scss b/packages/components/src/panel/style.scss index b26f134e72350b..e525cd92569182 100644 --- a/packages/components/src/panel/style.scss +++ b/packages/components/src/panel/style.scss @@ -32,6 +32,7 @@ .components-panel__header { display: flex; + flex-shrink: 0; justify-content: space-between; align-items: center; padding: 0 $grid-unit-20; From f647fa852925e9feb3a7b004017e03d6aca58cb4 Mon Sep 17 00:00:00 2001 From: jasmussen Date: Thu, 2 May 2024 12:52:16 +0200 Subject: [PATCH 2/2] Update changelog. --- packages/components/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 3009b0a882891b..8924dd7675372b 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -12,6 +12,7 @@ ### Bug Fix - `SlotFill`: fixed missing `getServerSnapshot` parameter in slot map ([#60943](https://github.com/WordPress/gutenberg/pull/60943)). +- `Panel`: Fix issue with collapsing panel header ([#61319](https://github.com/WordPress/gutenberg/pull/61319)). ### Enhancements