Skip to content

Commit 35fca36

Browse files
committed
MC-2370: Implement full width layout for product
- Add comments to explain layout modifications
1 parent 6d11739 commit 35fca36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/PageBuilder/view/frontend/page_layout/product-full-width.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@
1212
<referenceContainer name="page.wrapper" htmlClass="page-wrapper page-layout-1column"/>
1313

1414
<referenceContainer name="page.wrapper">
15+
<!-- Create new product details wrapper under main.content for tabs section -->
1516
<container name="product.info.details.wrapper" after="main.content" htmlTag="div" htmlClass="page-main page-main-details">
1617
<container name="product.info.details.wrapper.columns" htmlTag="div" htmlClass="columns">
1718
<container name="product.info.details.wrapper.main" label="Product Details Main Content Container" htmlTag="div" htmlClass="column main"/>
1819
</container>
1920
</container>
21+
<!-- Create wrapper for description without page-main class which adds gutters -->
2022
<container name="product.info.description.wrapper" after="main.content" before="product.info.details.wrapper" htmlTag="div" htmlClass="page-main-description"/>
2123
</referenceContainer>
2224

25+
<!-- Move details & description into their new wrappers -->
2326
<move element="product.info.details" destination="product.info.details.wrapper.main"/>
2427
<move element="product.info.description" destination="product.info.description.wrapper"/>
2528
</layout>

0 commit comments

Comments
 (0)