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 65545eb..98ba91d 100644
--- a/src/doc.js
+++ b/src/doc.js
@@ -53,7 +53,7 @@ SVG.extend(SVG.Doc, {
element.style('position:absolute;')
setTimeout(function() {
/* set position back to relative */
- element.style('position:relative;')
+ element.style('position:relative;overflow:hidden;')
/* remove temporary wrapper */
element.parent.removeChild(element.node.parentNode)