帯のサイズ、位置を調整
This commit is contained in:
parent
e9ae21b787
commit
ab60a9a47f
@ -1,5 +1,5 @@
|
||||
import React, { FC, useEffect } from "react";
|
||||
import { Text } from "react-native";
|
||||
import { Platform, Text } from "react-native";
|
||||
import { useFavoriteStation } from "../../stateBox/useFavoriteStation";
|
||||
type Props = {
|
||||
currentStation: any[];
|
||||
@ -30,7 +30,7 @@ export const AddressText: FC<Props> = (props) => {
|
||||
fontSize: parseInt("10%"),
|
||||
color: isMatsuyama ? "white" : "#005170",
|
||||
position: "absolute",
|
||||
bottom: isMatsuyama ? "27%" : "0%",
|
||||
bottom: isMatsuyama ? Platform.OS === "ios"?"25.5%":"26.5%" : "0%",
|
||||
textAlign: "center",
|
||||
width: "100%",
|
||||
fontWeight: "bold",
|
||||
|
@ -194,7 +194,7 @@ const styleSheet = {
|
||||
bottom: "0%",
|
||||
left: "0%",
|
||||
width: "100%",
|
||||
height: "27%",
|
||||
height: "26%",
|
||||
backgroundColor: "#454545",
|
||||
},
|
||||
JRStyle: {
|
||||
@ -216,7 +216,7 @@ const styleSheet = {
|
||||
下帯内容B: {
|
||||
position: "absolute",
|
||||
bottom: "0%",
|
||||
height: "27%",
|
||||
height: "26%",
|
||||
width: "100%",
|
||||
alignItems: "center",
|
||||
flexDirection: "column",
|
||||
|
Loading…
Reference in New Issue
Block a user