Skip to content

Commit f073b58

Browse files
committed
MC-2371: Implement full width layout for CMS pages
- Update layout to update class of main.content for CMS pages
1 parent e5017bf commit f073b58

File tree

4 files changed

+1
-21
lines changed

4 files changed

+1
-21
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
-->
88
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_layout.xsd">
99
<update handle="1column" />
10+
<referenceContainer name="main.content" htmlTag="main" htmlClass="page-main-full-width" />
1011
</layout>

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,3 @@
5353
}
5454
}
5555

56-
//
57-
// Page Layouts
58-
// _____________________________________________
59-
60-
@import 'layout/_import.less';

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

Lines changed: 0 additions & 10 deletions
This file was deleted.

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

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)