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