fix slop (#4739)
parent
09bc4e95d8
commit
56b688744e
|
@ -90,20 +90,31 @@ export function AviFollowButton({
|
|||
hitSlop={createHitslop(3)}
|
||||
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]}>
|
||||
<View
|
||||
style={[
|
||||
a.rounded_full,
|
||||
a.align_center,
|
||||
select(t.name, {
|
||||
light: t.atoms.bg_contrast_100,
|
||||
dim: t.atoms.bg_contrast_100,
|
||||
dark: t.atoms.bg_contrast_200,
|
||||
}),
|
||||
a.absolute,
|
||||
{
|
||||
bottom: -1,
|
||||
right: -1,
|
||||
borderWidth: 1,
|
||||
borderColor: t.atoms.bg.backgroundColor,
|
||||
},
|
||||
]}>
|
||||
<NativeDropdown items={items}>
|
||||
<Plus
|
||||
size="sm"
|
||||
fill={
|
||||
|
@ -114,6 +125,8 @@ export function AviFollowButton({
|
|||
}).backgroundColor
|
||||
}
|
||||
/>
|
||||
</View>
|
||||
</View>
|
||||
</NativeDropdown>
|
||||
</Button>
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue