テキストのサイズ修正

This commit is contained in:
harukin-expo-dev-env 2025-08-13 12:19:04 +00:00
parent fe5baba037
commit fdc8b95406

View File

@ -51,7 +51,7 @@ export const PositionBox: FC<stateBox> = (props) => {
<View style={{ flex: 1 }} />
<View style={{ flexDirection: mode == 2 ? "row" : "column" }}>
{firstText && (
<Text style={mode == 2 ? boxTextStyle2 : boxTextStyle}>
<Text style={mode == 2 ? boxTextStyle2 : (isBetween ? boxTextStyle : boxTextStyleBig)}>
{firstText}
</Text>
)}
@ -61,7 +61,7 @@ export const PositionBox: FC<stateBox> = (props) => {
</Text>
)}
{secondText && (
<Text style={mode == 2 ? boxTextStyle2 : boxTextStyle}>
<Text style={mode == 2 ? boxTextStyle2 :(isBetween ? boxTextStyle : boxTextStyleMini)}>
{secondText}
</Text>
)}
@ -101,6 +101,19 @@ const boxTextStyle2: TextStyle = {
color: "#0099CC",
textAlign: "right",
};
const boxTextStyleBig: TextStyle = {
fontSize: 28,
color: "#0099CC",
textAlign: "right",
};
const boxTextStyleMini: TextStyle = {
fontSize: 16,
color: "#0099CC",
textAlign: "right",
};
const boxTextStyle: TextStyle = {
fontSize: 25,