chore: add data-optimizable="true" attribute on optimizable <style>

This commit is contained in:
lowlighter
2021-11-25 20:45:37 -05:00
parent c009ba33e3
commit 56adec4a9e
7 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="480" height="99999" class="<%%= !animated ? 'no-animations' : '' %>">
<defs><style><%%= fonts %></style></defs>
<style><%%= style %></style>
<style data-optimizable="true"><%%= style %></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: 538 B

After

Width:  |  Height:  |  Size: 562 B