diff --git a/packages/block-library/src/latest-posts/editor.scss b/packages/block-library/src/latest-posts/editor.scss index fe901480974461..aaab74cc0ef2d6 100644 --- a/packages/block-library/src/latest-posts/editor.scss +++ b/packages/block-library/src/latest-posts/editor.scss @@ -18,3 +18,14 @@ padding-left: 0; } } + +// Apply the same styles that would be applied to +// ".block-editor-block-inspector .components-base-control" +// (see packages/block-editor/src/components/block-inspector/style.scss) +.wp-block-latest-posts__post-content-radio { + margin-bottom: #{ $grid-unit-30 }; + + &:last-child { + margin-bottom: $grid-unit-10; + } +} diff --git a/packages/block-library/src/latest-posts/style.scss b/packages/block-library/src/latest-posts/style.scss index 92cd3736cb07bb..2a01d177ef47c4 100644 --- a/packages/block-library/src/latest-posts/style.scss +++ b/packages/block-library/src/latest-posts/style.scss @@ -88,14 +88,3 @@ text-align: center; } } - -// Apply the same styles that would be applied to -// ".block-editor-block-inspector .components-base-control" -// (see packages/block-editor/src/components/block-inspector/style.scss) -.wp-block-latest-posts__post-content-radio { - margin-bottom: #{ $grid-unit-30 }; - - &:last-child { - margin-bottom: $grid-unit-10; - } -}