The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 15:45 UTC
fix(mobile): usage chart bars round at the top instead of the bottom (#21383)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Aditya Vardhan Sharma committed
Oct 27, 2026 at 02:58 UTC
417bc79711123cd83f647a078232e08c975fd988
1 file changed
+5
-1
apps/mobile/src/features/usage/UsageDailyChart.tsx
+5
-1
@@ -21,7 +21,11 @@ export function UsageDailyChart({ days, daily, metric, height }: UsageDailyChart
21
<View style={{ height }} className="flex-row items-end gap-px">
22
{/* Use column-reverse: provider values are bottom-first and Hermes lacks toReversed. */}
23
{chartDays.map((day) => (
24
- <View key={day.day} className="h-full flex-1 flex-col-reverse overflow-hidden rounded-sm">
24
+ <View
25
+ key={day.day}
26
+ style={{ height: max === 0 ? 0 : (day.total / max) * height }}
27
+ className="flex-1 flex-col-reverse overflow-hidden rounded-t-sm"
28
+ >
29
{day.values.map((entry) => (
30
<View
31
key={entry.provider}