block by micahstubbs f6a30cdf04d252876b44

Browser-zoom robust static foreignObject tooltips

Full Screen

Browser-zoom robust foreignObject tooltips in SVG

Based on this previous gist, but robust to changes in browser zoom level (text inside tooltip doesn’t get cut off when zoom < 100%).

forked from jebeck‘s block: Browser-zoom robust foreignObject tooltips

index.html

detect-zoom.min.js