diff --git a/projects/plugins/jetpack/changelog/fix-paid-blocks-upgrade-nudge-break-cover-block-free b/projects/plugins/jetpack/changelog/fix-paid-blocks-upgrade-nudge-break-cover-block-free new file mode 100644 index 000000000000..ad78ff974a34 --- /dev/null +++ b/projects/plugins/jetpack/changelog/fix-paid-blocks-upgrade-nudge-break-cover-block-free @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +Payment blocks: Fix cover block alignments on free sites diff --git a/projects/plugins/jetpack/extensions/extended-blocks/paid-blocks/with-upgrade-banner.jsx b/projects/plugins/jetpack/extensions/extended-blocks/paid-blocks/with-upgrade-banner.jsx index 60eeb73e121f..35d53b99dda9 100644 --- a/projects/plugins/jetpack/extensions/extended-blocks/paid-blocks/with-upgrade-banner.jsx +++ b/projects/plugins/jetpack/extensions/extended-blocks/paid-blocks/with-upgrade-banner.jsx @@ -79,13 +79,15 @@ const withUpgradeBanner = createHigherOrderComponent( }, [ setAttributes, hasParentBanner ] ); const blockProps = useBlockProps(); + // Fix for width of cover block because otherwise the div defaults to content-size as max width + const cssFixForCoverBlock = { 'max-width': 'unset' }; return ( -
+