テキストのサイズ修正
This commit is contained in:
parent
fe5baba037
commit
fdc8b95406
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user