diff --git a/packages/style-engine/class-wp-style-engine.php b/packages/style-engine/class-wp-style-engine.php index bc37daf05562af..387dec98b4687b 100644 --- a/packages/style-engine/class-wp-style-engine.php +++ b/packages/style-engine/class-wp-style-engine.php @@ -436,7 +436,7 @@ public function get_block_supports_styles( $block_styles, $options ) { $styles_output['declarations'] = $css_declarations->get_declarations(); // Return an entire rule if there is a selector. if ( $css_selector ) { - $styles_output['css'] = $css_selector . ' { ' . $css . ' }'; + $styles_output['css'] = $css_selector . '{' . $css . '}'; } }