We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04bd4af commit 1fcf7a5Copy full SHA for 1fcf7a5
app/code/Magento/PageBuilder/Setup/Converters/FixFullWidthRowPadding.php
@@ -50,10 +50,6 @@ public function convert($value)
50
$innerDiv = $row->querySelector(".row-full-width-inner");
51
$innerDiv->addStyle("padding", $padding);
52
}
53
- if ($fullWidthRows->count() > 0) {
54
- return $document->stripHtmlWrapperTags();
55
- } else {
56
- return $value;
57
- }
+ return $fullWidthRows->count() > 0 ? $document->stripHtmlWrapperTags() : $value;
58
59
0 commit comments