diff options
Diffstat (limited to 'src/view/com/posts/AviFollowButton.tsx')
-rw-r--r-- | src/view/com/posts/AviFollowButton.tsx | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/src/view/com/posts/AviFollowButton.tsx b/src/view/com/posts/AviFollowButton.tsx index 269d4eb5a..1c894bffe 100644 --- a/src/view/com/posts/AviFollowButton.tsx +++ b/src/view/com/posts/AviFollowButton.tsx @@ -84,25 +84,29 @@ export function AviFollowButton({ {!isFollowing && ( <Button label={_(msg`Open ${name} profile shortcut menu`)} - hitSlop={{ - top: 0, - left: 0, - right: 5, - bottom: 5, - }} style={[ a.rounded_full, a.absolute, { - height: 30, - width: 30, bottom: -7, right: -7, }, ]}> <NativeDropdown items={items}> <View - style={[a.h_full, a.w_full, a.justify_center, a.align_center]}> + style={[ + { + // An asymmetric hit slop + // to prioritize bottom right taps. + paddingTop: 2, + paddingLeft: 2, + paddingBottom: 6, + paddingRight: 6, + }, + a.align_center, + a.justify_center, + a.rounded_full, + ]}> <View style={[ a.rounded_full, |