Skip to content

Commit e77487c

Browse files
committed
MC-15763: Introduce critical CSS scope loaded through head
- Stabilization
1 parent 0a2c9bb commit e77487c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Theme/etc/adminhtml/system.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
<field id="use_css_critical_path" translate="label comment" type="select" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
1313
<label>Use CSS critical path</label>
1414
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
15-
<comment>CSS files are loading synchronously by default.</comment>
15+
<comment>
16+
<![CDATA[<strong style="color:red">Warning!</strong> Be sure that you have critical.css file for your theme. Other CSS files will be loaded asynchronously]]>
17+
</comment>
1618
</field>
1719
</group>
1820
</section>

0 commit comments

Comments
 (0)