微修正

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

View File

@ -36,14 +36,16 @@ 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}
style={{
width: 28, width: 28,
height: 24, height: 24,
alignContent: "center", alignContent: "center",
alignItems: "center", alignItems: "center",
justifyContent: "center", justifyContent: "center",
position: "relative", position: "relative",
}}> }}
>
{active && ( {active && (
<View <View
style={{ style={{
@ -57,7 +59,7 @@ export const StationNumber: FC<StationNumberProps> = (props) => {
borderWidth: 2, borderWidth: 2,
left: -1, left: -1,
top: -2, top: -2,
zIndex:10 zIndex: 10,
}} }}
/> />
)} )}