Writing
-
Why the QR tickets wouldn't scan: an SVG with no viewBox
Event tickets drawn as inline SVG QR codes failed to scan because the SVG had a fixed width and height but no viewBox, so CSS resized its box without scaling the drawing and cut off a corner pattern. A viewBox and a four-module white margin fixed it.