cssを修正

This commit is contained in:
harukin-expo-dev-env 2025-06-10 14:26:15 +00:00
parent aefbf68401
commit af30d1cbb0

View File

@ -34,15 +34,15 @@ export const CarouselTypeChanger = ({
<TouchableOpacity
style={{
flex: 1,
backgroundColor: "#0099CC",
backgroundColor: stationListMode == "position" ? "#0099CC" : "#0099CC80",
padding: 5,
alignItems: "center",
flexDirection: "row",
marginHorizontal: 5,
borderTopLeftRadius: 20,
borderTopRightRadius: 20,
borderBottomLeftRadius: stationListMode == "position" ? 0 : 20,
borderBottomRightRadius: stationListMode == "position" ? 0 : 20,
borderBottomLeftRadius: mapMode ? 0 : 20,
borderBottomRightRadius: mapMode ? 0 : 20,
}}
disabled={!locationStatus}
@ -99,15 +99,15 @@ export const CarouselTypeChanger = ({
<TouchableOpacity
style={{
flex: 1,
backgroundColor: "#0099CC",
backgroundColor: stationListMode == "favorite" ? "#0099CC" : "#0099CC80",
padding: 5,
alignItems: "center",
flexDirection: "row",
marginHorizontal: 5,
borderTopLeftRadius: 20,
borderTopRightRadius: 20,
borderBottomLeftRadius: stationListMode == "favorite" ? 0 : 20,
borderBottomRightRadius: stationListMode == "favorite" ? 0 : 20,
borderBottomLeftRadius: mapMode ? 0 : 20,
borderBottomRightRadius: mapMode ? 0 : 20,
}}
onPressIn={() => {
returnToDefaultMode();