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