diff options
| author | David Hill <[email protected]> | 2026-03-04 22:19:28 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2026-03-04 22:19:28 +0000 |
| commit | cd3a09c6a78579a177d71941220e8d4072f5a57c (patch) | |
| tree | 15568515465abb2636e52a13205a35e96ac8093b | |
| parent | f8685a4d532386b7c30112454a89fc5ab884e7d1 (diff) | |
| download | opencode-cd3a09c6a78579a177d71941220e8d4072f5a57c.tar.gz opencode-cd3a09c6a78579a177d71941220e8d4072f5a57c.zip | |
tui: clearer graph labels and responsive layout for usage visualization
Improve readability of the usage graph y-axis label by spelling out
'Requests per 5 hour' instead of the abbreviated 'Requests/5h'. Fix
layout on smaller screens by removing negative margin that was
causing the graph to overflow its container.
| -rw-r--r-- | packages/console/app/src/i18n/en.ts | 2 | ||||
| -rw-r--r-- | packages/console/app/src/routes/go/index.css | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/packages/console/app/src/i18n/en.ts b/packages/console/app/src/i18n/en.ts index 5227b3f54..82ec78bda 100644 --- a/packages/console/app/src/i18n/en.ts +++ b/packages/console/app/src/i18n/en.ts @@ -260,7 +260,7 @@ export const dict = { "go.graph.free": "Free", "go.graph.freePill": "Big Pickle and promotional", "go.graph.go": "Go", - "go.graph.label": "Requests/5h", + "go.graph.label": "Requests per 5 hour", "go.graph.usageLimits": "Usage limits", "go.graph.tick": "{{n}}x", "go.graph.aria": "Requests per 5h: {{free}} vs {{go}}", diff --git a/packages/console/app/src/routes/go/index.css b/packages/console/app/src/routes/go/index.css index 0ff04a225..f70bf981f 100644 --- a/packages/console/app/src/routes/go/index.css +++ b/packages/console/app/src/routes/go/index.css @@ -453,6 +453,10 @@ body { width: 100%; margin: 0 auto; margin-left: -40px; + + @media (max-width: 60rem) { + margin-left: 0; + } } [data-slot="ylabels"] { |
