Skip to content

Commit 24b0331

Browse files
committed
MC-3153: Apply full width to custom product attributes
- Resolve static failures
1 parent 15ff71b commit 24b0331

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

app/code/Magento/PageBuilder/view/frontend/templates/catalog/product/view/title_wrapper.phtml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
*/
1212
$childHtml = $block->getChildHtml();
1313
?>
14-
15-
<?php if (trim($childHtml) !== ""): ?>
14+
<?php if (trim($childHtml) !== "") : ?>
1615
<div class="product-full-width-section">
1716
<h2 class="product-section-title"><?= $block->escapeHtml($block->getTitle()); ?></h2>
1817
<?= $block->getChildHtml(); ?>

app/code/Magento/PageBuilder/view/frontend/web/css/source/_layout.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
}
1919

2020
.additional-attributes-wrapper .additional-attributes {
21-
width: auto;
2221
border: none;
22+
width: auto;
2323

2424
> tbody > tr {
2525
> th {
26-
padding: 5.5px 30px 10px 0;
2726
border: none;
27+
padding: 5.5px 30px 10px 0;
2828
}
29-
> td {
30-
padding: 5.5px 5px 10px 5px;
29+
> td {
3130
border: none;
31+
padding: 5.5px 5px 10px;
3232
}
3333
}
3434
}

0 commit comments

Comments
 (0)