File tree Expand file tree Collapse file tree
apps/mobile/src/features/threads/git Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export function SheetActionButton(props: {
2424 return (
2525 < Pressable
2626 className = { cn (
27- "min-h-[48px] flex-1 flex-row items-center justify-center gap-2 rounded-[18px] px-4 py-3 disabled:opacity-[0.45]" ,
27+ "min-h-[48px] flex-1 items-center justify-center rounded-[18px] px-3 py-3 disabled:opacity-[0.45]" ,
2828 tone === "primary"
2929 ? "bg-primary"
3030 : tone === "danger"
@@ -34,24 +34,26 @@ export function SheetActionButton(props: {
3434 disabled = { props . disabled }
3535 onPress = { props . onPress }
3636 >
37- < SymbolView
38- name = { props . icon }
39- size = { 16 }
40- tintColorClassName = { textColorClassName }
41- type = "monochrome"
42- />
43- < Text
44- className = { cn (
45- "text-xs font-t3-bold tracking-[0.9px] uppercase" ,
46- tone === "primary"
47- ? "text-primary-foreground"
48- : tone === "danger"
49- ? "text-danger-foreground"
50- : "text-secondary-foreground" ,
51- ) }
52- >
53- { props . label }
54- </ Text >
37+ < View className = "max-w-full flex-row items-center justify-center gap-1.5" >
38+ < SymbolView
39+ name = { props . icon }
40+ size = { 16 }
41+ tintColorClassName = { textColorClassName }
42+ type = "monochrome"
43+ />
44+ < Text
45+ className = { cn (
46+ "shrink text-center text-xs font-t3-bold tracking-[0.9px] uppercase" ,
47+ tone === "primary"
48+ ? "text-primary-foreground"
49+ : tone === "danger"
50+ ? "text-danger-foreground"
51+ : "text-secondary-foreground" ,
52+ ) }
53+ >
54+ { props . label }
55+ </ Text >
56+ </ View >
5557 </ Pressable >
5658 ) ;
5759}
You can’t perform that action at this time.
0 commit comments