diff --git a/packages/block-library/src/navigation/edit/responsive-wrapper.js b/packages/block-library/src/navigation/edit/responsive-wrapper.js index 886e808965ce4b..4d389abf1d8831 100644 --- a/packages/block-library/src/navigation/edit/responsive-wrapper.js +++ b/packages/block-library/src/navigation/edit/responsive-wrapper.js @@ -49,7 +49,7 @@ export default function ResponsiveWrapper( { 'is-menu-open': isOpen, 'hidden-by-default': isHiddenByDefault, } - ); + ).trim(); const styles = { color: ! overlayTextColor?.slug && overlayTextColor?.color,