From c1bdcf045b4f7d785bc04ef02222406a1b37fc79 Mon Sep 17 00:00:00 2001 From: hll <shawn.liu@3ds.com> Date: Thu, 18 Oct 2018 16:46:25 -0400 Subject: [PATCH] Chrome only: Links are in wrong position when windows font size or view zooming is not in the default scale --- js/mods.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/mods.js b/js/mods.js index c579e13..904c335 100644 --- a/js/mods.js +++ b/js/mods.js @@ -655,8 +655,8 @@ var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg") svg.style.left = 0 svg.style.zIndex = 0 svg.style.overflow = 'visible' - svg.setAttribute('width',2) - svg.setAttribute('height',2) + svg.setAttribute('width',40) + svg.setAttribute('height',40) svg.setAttribute('id','svg') svg.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink") document.body.appendChild(svg) -- GitLab