CSS修正

This commit is contained in:
harukin-OneMix4 2024-02-02 02:40:40 +09:00
parent d4ddaeb17e
commit fd2fe310ab

View File

@ -635,9 +635,22 @@ export const EachTrainInfo = (props) => {
}}
>
{headStation && !isConcatNear && (
<TouchableOpacity onPress={() => openBackTrainInfo(headStation)}>
<View>
<Text>直通列車を表示</Text>
<TouchableOpacity
onPress={() => openBackTrainInfo(headStation)}
style={{
padding: 10,
flexDirection: "row",
borderColor: "blue",
borderWidth: 1,
margin: 10,
borderRadius: 5,
alignItems: "center",
}}
>
<View
style={{ fontSize: 18, fontWeight: "bold", color: "black" }}
>
<Text style={{ color: "black" }}>本当の始発駅を表示</Text>
</View>
</TouchableOpacity>
)}
@ -667,10 +680,23 @@ export const EachTrainInfo = (props) => {
)
)}
{tailStation && !isConcatNear && (
<TouchableOpacity onPress={() => openBackTrainInfo(tailStation)}>
<View>
<Text>直通列車を表示</Text>
</View>
<TouchableOpacity
onPress={() => openBackTrainInfo(tailStation)}
style={{
padding: 10,
flexDirection: "row",
borderColor: "blue",
borderWidth: 1,
margin: 10,
borderRadius: 5,
alignItems: "center",
}}
>
<Text
style={{ fontSize: 18, fontWeight: "bold", color: "black" }}
>
本当の終着駅を表示
</Text>
</TouchableOpacity>
)}