Skip to content

Commit 292c02e

Browse files
authored
Merge pull request #12 from AlbertHuangT/claude/vigorous-williams
Fix UI text alignment and Makefile startup issues
2 parents 4153f3c + c45e2fb commit 292c02e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎the-trash-rn/src/components/themed/TrashButton.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ export default function TrashButton({
196196
fontSize: labelType.size ?? 13,
197197
lineHeight: labelType.lineHeight ?? 18,
198198
fontWeight: '600',
199-
letterSpacing: labelType.letterSpacing ?? 0.26
199+
letterSpacing: labelType.letterSpacing ?? 0.26,
200+
textAlign: 'center'
200201
},
201202
textStyle
202203
]}

‎the-trash-rn/src/components/themed/TrashSegmentedControl.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ export default function TrashSegmentedControl({
163163
lineHeight: labelType.lineHeight ?? 18,
164164
letterSpacing: active
165165
? -0.08
166-
: (labelType.letterSpacing ?? 0.26)
166+
: (labelType.letterSpacing ?? 0.26),
167+
textAlign: 'center'
167168
},
168169
labelStyle
169170
]}

0 commit comments

Comments
 (0)