diff --git a/packages/themes/block-theme/src/blocks/core/image.css b/packages/themes/block-theme/src/blocks/core/image.css index 48a836e..9c75af6 100644 --- a/packages/themes/block-theme/src/blocks/core/image.css +++ b/packages/themes/block-theme/src/blocks/core/image.css @@ -9,12 +9,3 @@ .wp-block-post-featured-image img { display: block; } - -/* Reset styling for figcaption (Image block overrides caption styling from theme.json) */ -.wp-block-image figcaption { - color: unset; - font-size: var(--wp--preset--font-size--small); - line-height: unset; - margin: unset; - text-align: unset; -} diff --git a/packages/themes/block-theme/theme.json b/packages/themes/block-theme/theme.json index 76eeadd..aa8685c 100644 --- a/packages/themes/block-theme/theme.json +++ b/packages/themes/block-theme/theme.json @@ -171,6 +171,12 @@ "typography": { "fontSize": "var(--wp--preset--font-size--small)", "lineHeight": "unset" + }, + "spacing": { + "margin": { + "top": "0", + "bottom": "0" + } } } },