Previously, there would be overlaps between the SVG rectangles and the text besides them at certain zoom levels. For example, below is a screenshot of the web page on Chromium at ~150% zoom:
In addition, the site would also look extremely zoomed out and be hard to read on mobile devices. For example, here is how the website renders on an iPhone SE (albeit simulated by Chromium developer tools):
Fix
We use the built-in CSS grid and flexbox layouts instead of Bootstrap's utility classes to make the website responsive, both of which have good support on major browsers. This fixes the SVG overlap issue, and displays the website reasonably well on mobile devices, as demonstrated by this video:
Changes were tested on Chromium, Firefox, and Webkit on macOS. I can test this change on Windows and Linux once I get home, but I'd be surprised if there were issues on those platforms.
Issue
Previously, there would be overlaps between the SVG rectangles and the text besides them at certain zoom levels. For example, below is a screenshot of the web page on Chromium at ~150% zoom:
In addition, the site would also look extremely zoomed out and be hard to read on mobile devices. For example, here is how the website renders on an iPhone SE (albeit simulated by Chromium developer tools):
Fix
We use the built-in CSS grid and flexbox layouts instead of Bootstrap's utility classes to make the website responsive, both of which have good support on major browsers. This fixes the SVG overlap issue, and displays the website reasonably well on mobile devices, as demonstrated by this video:
https://github.com/user-attachments/assets/3dc4a1cb-8830-4632-a21b-0203061ccde8
Changes were tested on Chromium, Firefox, and Webkit on macOS. I can test this change on Windows and Linux once I get home, but I'd be surprised if there were issues on those platforms.