Uh oh!
There was an error while loading. Please reload this page.
Fix benchmark bar chart scale on mobile - #555
Conversation
The fixed 90px/170px side columns left almost no room for the actual bar track on narrow viewports (down to ~51px). Below 480px, shrink those columns, stack the value/relative labels vertically to reclaim horizontal space, and reduce a few font sizes accordingly. Also shortens "operations / second" to "ops/second" under the axis. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR Summary by QodoFix Benchmark bar chart scale on mobile
AI Description
Diagram
High-Level Assessment
Files changed (2) |
Code Review by Qodo🐞 Bugs (0)📘 Rule violations (0)📎 Requirement gaps (0)Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTo customize comments, go to the Qodo configuration screen, or learn more in the docs. |
Summary
Benchmarkcomponent's bar rows used fixed90px/170pxside columns, which on narrow viewports left the actual bar track only ~51px wide — the chart looked broken/squished on mobile.64px/76px, stack the ops-value and relative-speed labels vertically instead of side-by-side, and scale down a few font sizes to fit without wrapping or overflowing.Test plan
10,250,000) — no text overflow/wrapping, bar track grew from 51px to ~187px.tsc --noEmitandyarn docusaurus buildboth pass clean against latestmain.🤖 Generated with Claude Code