微修正
This commit is contained in:
parent
002070bafb
commit
c7e08bf013
@ -36,14 +36,16 @@ export const StationNumber: FC<StationNumberProps> = (props) => {
|
||||
const size = active ? 24 : 18;
|
||||
return (
|
||||
<TouchableOpacity
|
||||
onPress={onPress} style={{
|
||||
onPress={onPress}
|
||||
style={{
|
||||
width: 28,
|
||||
height:24,
|
||||
alignContent:"center",
|
||||
alignItems:"center",
|
||||
justifyContent:"center",
|
||||
position:"relative",
|
||||
}}>
|
||||
height: 24,
|
||||
alignContent: "center",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
position: "relative",
|
||||
}}
|
||||
>
|
||||
{active && (
|
||||
<View
|
||||
style={{
|
||||
@ -51,13 +53,13 @@ export const StationNumber: FC<StationNumberProps> = (props) => {
|
||||
position: "absolute",
|
||||
width: 28,
|
||||
height: 28,
|
||||
marginHorizontal:1,
|
||||
marginHorizontal: 1,
|
||||
borderRadius: 22,
|
||||
borderColor: "black",
|
||||
borderWidth: 2,
|
||||
left: -1,
|
||||
top: -2,
|
||||
zIndex:10
|
||||
zIndex: 10,
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user