Skip to content

Commit f3757a9

Browse files
committed
fix(home): use flex-1 for action grid buttons
Replace fixed 79px width so four columns share the row evenly and avoid clipping on narrow screens.
1 parent 94b0140 commit f3757a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/Views/Homepage/components/HomepageActionButtonsGrid/HomepageActionButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const HomepageActionButton = ({
4747
disabled={isDisabled}
4848
onPress={isDisabled ? undefined : onPress}
4949
style={tw.style(
50-
'w-[79px] items-center',
50+
'min-w-0 flex-1 items-center',
5151
isDisabled ? 'opacity-50' : 'opacity-100',
5252
)}
5353
testID={testID}

0 commit comments

Comments
 (0)