The best way to control Claude Code, Codex and more from any computer or phone
fix(mobile): usage chart legend wraps instead of pushing the end date off-screen (#18203)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Bartłomiej Czyżewski committed
Oct 18, 2026 at 21:09 UTC
2b16747a92b180b488e29b72747c5e8968c857cf
1 file changed
+14
-12
apps/mobile/src/features/usage/UsageRouteScreen.tsx
+14
-12
@@ -546,13 +546,20 @@ function ChartCard(props: {
546
</View>
547
)}
548
549
- <View className="flex-row items-center justify-between">
550
- <Text className="text-xs text-foreground-tertiary">
551
- {props.isPast24Hours
552
- ? formatHourShort(props.days[0] ?? "", props.timeZone)
553
- : formatDayShort(props.sinceDay)}
554
- </Text>
555
- <View className="flex-row items-center gap-4">
549
+ <View className="gap-2">
550
+ <View className="flex-row items-center justify-between">
551
+ <Text className="text-xs text-foreground-tertiary">
552
+ {props.isPast24Hours
553
+ ? formatHourShort(props.days[0] ?? "", props.timeZone)
554
+ : formatDayShort(props.sinceDay)}
555
+ </Text>
556
+ <Text className="text-xs text-foreground-tertiary">
557
+ {props.isPast24Hours
558
+ ? formatHourShort(props.days[props.days.length - 1] ?? "", props.timeZone)
559
+ : formatDayShort(props.untilDay)}
560
+ </Text>
561
+ </View>
562
+ <View className="flex-row flex-wrap items-center gap-x-4 gap-y-1">
563
{merged.providers.map((provider) => (
564
<View key={provider.provider} className="flex-row items-center gap-1.5">
565
<View
@@ -565,11 +572,6 @@ function ChartCard(props: {
572
</View>
573
))}
574
</View>
568
- <Text className="text-xs text-foreground-tertiary">
569
- {props.isPast24Hours
570
- ? formatHourShort(props.days[props.days.length - 1] ?? "", props.timeZone)
571
- : formatDayShort(props.untilDay)}
572
- </Text>
575
</View>
576
</View>
577
);