aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.js')
-rw-r--r--src/doc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc.js b/src/doc.js
index 644bdfd..2457815 100644
--- a/src/doc.js
+++ b/src/doc.js
@@ -12,7 +12,7 @@ SVG.Doc = function Doc(e) {
// set svg element attributes
this.
- attr({ xmlns: SVG.ns, version: '1.1' }).
+ attr({ xmlns: SVG.ns, version: '1.1', width: '100%', height: '100%' }).
attr('xlink', SVG.xlink, SVG.ns).
defs();