diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-11-23 16:20:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-23 16:20:24 -0800 |
commit | 32bf8122e8c8a0fbadd53b8a015cfbc9014519a2 (patch) | |
tree | 55bd24596e6fadadbf4326b26e3d14e418c5c7bb /src/view/com/posts/AviFollowButton.tsx | |
parent | 523d1f01a51c0e85e49916fb42b204f7004ffac1 (diff) | |
parent | b4d07c4112b9a62b5380948051aa4a7fd391a2d4 (diff) | |
download | voidsky-32bf8122e8c8a0fbadd53b8a015cfbc9014519a2.tar.zst |
Merge branch 'main' into main
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, |