fix(plugins/core): disable css optimization for extras_css (#756) [skip ci]

This commit is contained in:
Simon Lecoq
2022-01-09 19:54:29 +01:00
committed by GitHub
parent fa17bb48bd
commit 8d1f82963b
5 changed files with 10 additions and 6 deletions

View File

@@ -2,6 +2,7 @@
<defs><style><%= fonts %></style></defs>
<style data-optimizable="true"><%= style %></style>
<style><%= extras.css %></style>
<foreignObject x="0" y="0" width="100%" height="100%">
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" class="items-wrapper">

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -2,9 +2,8 @@
<defs><style><%= fonts %></style></defs>
<style data-optimizable="true">
<%= style %>
</style>
<style data-optimizable="true"><%= style %></style>
<style><%= extras.css %></style>
<foreignObject x="0" y="0" width="100%" height="100%">
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink">

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -28,6 +28,7 @@
<% } %>
<% } %>
</style>
<style><%= extras.css %></style>
<foreignObject x="0" y="0" width="100%" height="100%">
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink">

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB