CSSの調整

This commit is contained in:
harukin-expo-dev-env 2024-05-28 02:52:24 +00:00
parent 9094ec331d
commit 4194a83c8e
2 changed files with 12 additions and 25 deletions

View File

@ -48,26 +48,17 @@ export const TrainMenuLineSelector = () => {
useBottomSafeAreaPadding={platformIs} useBottomSafeAreaPadding={platformIs}
> >
<Handler /> <Handler />
<View <View style={{ height: 26, width: "100%", backgroundColor: "white" }}>
style={{ <View
backgroundColor: "#0099CC", style={{
borderTopRadius: 5, height: 6,
borderColor: "dark", width: 45,
borderWidth: 1, borderRadius: 100,
}} backgroundColor: "#f0f0f0",
> marginVertical: 10,
<View style={{ height: 26, width: "100%", backgroundColor: "#0099CC" }}> alignSelf: "center",
<View }}
style={{ />
height: 6,
width: 45,
borderRadius: 100,
backgroundColor: "#f0f0f0",
marginVertical: 10,
alignSelf: "center",
}}
/>
</View>
</View> </View>
{Object.keys(stationData).map((d) => ( {Object.keys(stationData).map((d) => (
<TouchableOpacity <TouchableOpacity

View File

@ -185,11 +185,7 @@ export default function TrainMenu({ stationData, style }) {
</UsefulBox> </UsefulBox>
</View> </View>
)} )}
<MapsButton <MapsButton onPress={() => navigate("Apps")} top={0} mapSwitch={"flex"} />
onPress={() => navigate("Apps")}
top={Platform.OS == "ios" ? Constants.statusBarHeight : 0}
mapSwitch={"flex"}
/>
</View> </View>
); );
} }