微修正
This commit is contained in:
parent
002070bafb
commit
c7e08bf013
@ -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,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user