テキストのサイズ修正

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