@devries-cameron20 / t3code Mirror · read-only / commits / 8da749b8d5
Fork 0

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 23, 04:15 UTC

fix(mobile): sheet action buttons text alignment (#11260)

Co-authored-by: Cursor <cursoragent@cursor.com>

Cameron Chisholm committed Oct 18, 2026 at 20:26 UTC 8da749b8d532a182dfcd37d1871b6334851c8a5e
1 file changed +21 -20
apps/mobile/src/features/threads/git/gitSheetComponents.tsx
+21 -20
@@ -36,8 +36,7 @@ export function SheetActionButton(props: {
36 return (
37 <Pressable
38 className={cn(
39 - "min-h-[48px] flex-row items-center justify-center gap-2 px-4 py-3 disabled:opacity-[0.45]",
40 - "flex-1 rounded-[18px]",
39 + "min-h-[48px] flex-1 items-center justify-center rounded-[18px] px-3 py-3 disabled:opacity-[0.45]",
40 tone === "primary" ? "bg-primary" : tone === "danger" ? "bg-danger" : "bg-secondary",
41 tone !== "primary" &&
42 (tone === "danger" ? "border border-danger-border" : "border border-secondary-border"),
@@ -46,24 +45,26 @@ export function SheetActionButton(props: {
45 disabled={props.disabled}
46 onPress={props.onPress}
47 >
49 - <SymbolView
50 - name={props.icon}
51 - size={16}
52 - tintColorClassName={textColorClassName}
53 - type="monochrome"
54 - />
55 - <Text
56 - className={cn(
57 - "text-xs font-t3-bold tracking-[0.9px] uppercase",
58 - tone === "primary"
59 - ? "text-primary-foreground"
60 - : tone === "danger"
61 - ? "text-danger-foreground"
62 - : "text-secondary-foreground",
63 - )}
64 - >
65 - {props.label}
66 - </Text>
48 + <View className="max-w-full flex-row items-center justify-center gap-1.5">
49 + <SymbolView
50 + name={props.icon}
51 + size={16}
52 + tintColorClassName={textColorClassName}
53 + type="monochrome"
54 + />
55 + <Text
56 + className={cn(
57 + "shrink text-center text-xs font-t3-bold tracking-[0.9px] uppercase",
58 + tone === "primary"
59 + ? "text-primary-foreground"
60 + : tone === "danger"
61 + ? "text-danger-foreground"
62 + : "text-secondary-foreground",
63 + )}
64 + >
65 + {props.label}
66 + </Text>
67 + </View>
68 </Pressable>
69 );
70 }