Skip to content

Commit cd961c4

Browse files
committed
Remove unwanted styles in email preview
1 parent 1ef8a51 commit cd961c4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/code/Magento/Email/view/adminhtml/layout/adminhtml_email_template_preview.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
*/
77
-->
88
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
9+
<head>
10+
<remove src="extjs/resources/css/ext-all.css"/>
11+
<remove src="extjs/resources/css/ytheme-magento.css"/>
12+
<remove src="css/styles-old.css"/>
13+
<remove src="jquery/jstree/themes/default/style.css"/>
14+
</head>
915
<body>
1016
<attribute name="id" value="html-body"/>
1117
<attribute name="class" value="preview-window"/>

0 commit comments

Comments
 (0)