Skip to content

Commit 1c1a0c1

Browse files
committed
MC-2371: Implement full width layout for CMS pages
- Update layout name to use dashes
1 parent 893f9df commit 1c1a0c1

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

app/code/Magento/PageBuilder/view/frontend/layouts.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77
-->
88
<page_layouts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/PageLayout/etc/layouts.xsd">
9-
<layout id="cms_full_width">
9+
<layout id="cms-full-width">
1010
<label translate="true">CMS - Full Width</label>
1111
</layout>
1212
<layout id="category-full-width">

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@
5757
// Page Layouts
5858
// _____________________________________________
5959

60-
@import 'layouts/_import.less';
60+
@import 'layout/_import.less';

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// * See COPYING.txt for license details.
44
// */
55

6-
.page-layout-cms_full_width .page-main {
6+
.page-layout-cms-full-width .page-main {
77
max-width: 100%;
88
padding-left: 0;
99
padding-right: 0;

0 commit comments

Comments
 (0)