Make pure svg calls

This commit is contained in:
2024-04-22 15:29:32 +02:00
parent cd946b2df6
commit 6770f8176a

View File

@@ -1,19 +1,8 @@
<svg viewBox="0 0 600 300" width="600" height="300" xmlns="http://www.w3.org/2000/svg">
<foreignObject width="100%" height="100%">
<div xmlns="http://www.w3.org/1999/xhtml">
<style>
body {
margin: 0;
padding: 0;
image {
background-color: white;
}
img {
height: 100vh;
width: 100vw;
}
</style>
<img src="https://github.com/metal3d/katenary/raw/develop/doc/docs/statics/klee.svg"/>
</div>
</foreignObject>
<image width="600" height="300" href="./doc/docs/statics/klee.svg"/>
</svg>

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 248 B