css-doodle
Advanced tools
Comparing version
{ | ||
"name": "css-doodle", | ||
"version": "0.42.5", | ||
"version": "0.42.6", | ||
"description": "A web component for drawing patterns with CSS", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -178,7 +178,3 @@ import parse_css from './parser/parse-css.js'; | ||
let svg = ` | ||
<svg ${NS} | ||
preserveAspectRatio="none" | ||
viewBox="0 0 ${width} ${height}" | ||
${is_safari() ? '' : `width="${w}px" height="${h}px"`} | ||
> | ||
<svg ${NS} preserveAspectRatio="none" viewBox="0 0 ${width} ${height}" ${is_safari() ? '' : `width="${w}px" height="${h}px"`}> | ||
<foreignObject width="100%" height="100%"> | ||
@@ -185,0 +181,0 @@ <div class="host" ${NSXHtml} style="width:${width}px;height:${height}px"> |
Sorry, the diff of this file is too big to display
7010
3.84%278421
-0.02%