From 2943dd3adfa4e1ad33b980760277377df9ac0f91 Mon Sep 17 00:00:00 2001 From: Aki Hamano <54422211+t-hamano@users.noreply.github.com> Date: Tue, 17 Sep 2024 23:03:13 +0900 Subject: [PATCH] Post Summary Panel: Restore `height:auto` for toggle buttons (#65362) Co-authored-by: t-hamano Co-authored-by: jameskoster Co-authored-by: mirka <0mirka00@git.wordpress.org> --- packages/editor/src/components/post-panel-row/style.scss | 1 + packages/editor/src/components/post-status/index.js | 1 + packages/editor/src/components/post-status/style.scss | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/packages/editor/src/components/post-panel-row/style.scss b/packages/editor/src/components/post-panel-row/style.scss index f76c586850500e..53e0c645f6f069 100644 --- a/packages/editor/src/components/post-panel-row/style.scss +++ b/packages/editor/src/components/post-panel-row/style.scss @@ -28,6 +28,7 @@ white-space: normal; text-wrap: balance; // Fallback for Safari. text-wrap: pretty; + height: auto; min-height: $button-size-compact; } diff --git a/packages/editor/src/components/post-status/index.js b/packages/editor/src/components/post-status/index.js index 1d3050e7e3dd6b..c2bf038875354d 100644 --- a/packages/editor/src/components/post-status/index.js +++ b/packages/editor/src/components/post-status/index.js @@ -173,6 +173,7 @@ export default function PostStatus() { focusOnMount renderToggle={ ( { onToggle, isOpen } ) => (