From 03225e0e2b5aa369f402273d3612f1e2e45c9f15 Mon Sep 17 00:00:00 2001 From: Aki Hamano <54422211+t-hamano@users.noreply.github.com> Date: Mon, 4 Nov 2024 16:02:11 +0900 Subject: [PATCH] Block Inspector: Restore bottm margin for RadioControl (#66688) Co-authored-by: t-hamano Co-authored-by: up1512001 Co-authored-by: aaronrobertshaw --- .../src/components/block-inspector/style.scss | 3 ++- packages/block-library/src/latest-posts/edit.js | 1 - packages/block-library/src/latest-posts/editor.scss | 11 ----------- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/packages/block-editor/src/components/block-inspector/style.scss b/packages/block-editor/src/components/block-inspector/style.scss index e04dfd8e9a480a..dd9d8f254ff76b 100644 --- a/packages/block-editor/src/components/block-inspector/style.scss +++ b/packages/block-editor/src/components/block-inspector/style.scss @@ -10,7 +10,8 @@ margin-bottom: 1.5em; } - .components-base-control { + .components-base-control, + .components-radio-control { &:where(:not(:last-child)) { margin-bottom: $grid-unit-20; } diff --git a/packages/block-library/src/latest-posts/edit.js b/packages/block-library/src/latest-posts/edit.js index 8116b5eecaebf0..82f0661d04e40f 100644 --- a/packages/block-library/src/latest-posts/edit.js +++ b/packages/block-library/src/latest-posts/edit.js @@ -238,7 +238,6 @@ export default function LatestPostsEdit( { attributes, setAttributes } ) { /> { displayPostContent && (