微修正

This commit is contained in:
harukin-expo-dev-env 2025-03-14 15:23:12 +00:00
parent 002070bafb
commit c7e08bf013

View File

@ -36,30 +36,32 @@ export const StationNumber: FC<StationNumberProps> = (props) => {
const size = active ? 24 : 18; const size = active ? 24 : 18;
return ( return (
<TouchableOpacity <TouchableOpacity
onPress={onPress} style={{ onPress={onPress}
width: 28, style={{
height:24, width: 28,
alignContent:"center", height: 24,
alignItems:"center", alignContent: "center",
justifyContent:"center", alignItems: "center",
position:"relative", justifyContent: "center",
}}> position: "relative",
}}
>
{active && ( {active && (
<View <View
style={{ style={{
flex: 1, flex: 1,
position: "absolute", position: "absolute",
width: 28, width: 28,
height: 28, height: 28,
marginHorizontal:1, marginHorizontal: 1,
borderRadius: 22, borderRadius: 22,
borderColor: "black", borderColor: "black",
borderWidth: 2, borderWidth: 2,
left: -1, left: -1,
top: -2, top: -2,
zIndex:10 zIndex: 10,
}} }}
/> />
)} )}
<View <View
style={{ style={{