Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.js')
-rw-r--r--src/map.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.js b/src/map.js
index e82e809..5d0bf6a 100644
--- a/src/map.js
+++ b/src/map.js
@@ -19,6 +19,8 @@ bg.style.transform = mtx;
const bbox = grid.getBBox();
+bbox.height += 5;
+
setElAttrs(bg, bbox);
setElAttrs(dots, bbox)
svg.setAttribute('viewBox', formatForViewBox(calcComputedBboxFor(gb)));