Sign in

Ed Gargan

@edg.foo
302 followers 85 following 14 posts

Web developer playing at being a journalist in the Guardian's visuals team 🗞️

PostsRepliesMedia
Ed Gargan @edg.foo · 13/01/2025
Question for any web SVG experts: browser scaling causes these `height=36` and `width=36` squares as 35.99px, causing slight clipping. Besides `overflow: visible` on the SVG, is there a cleaner fix?
A screenshot of the article in the original post, with the browser's developer tools open. One of the square figures in the article's main graphic is highlighted, with a popup showing the square's width and height as 35.99px, while the developer tools window shows its width and height as 36.
100