diff --git a/components/ActionSheetComponents/JRSTraInfo.js b/components/ActionSheetComponents/JRSTraInfo.js index 64b0bc7..0acbd6d 100644 --- a/components/ActionSheetComponents/JRSTraInfo.js +++ b/components/ActionSheetComponents/JRSTraInfo.js @@ -131,11 +131,11 @@ export const JRSTraInfo = () => { let data = d.split(" "); return ( - + {data[0].replace("\n", "")} - {data[1]} - {data[3]} + {data[1]} + {data[3]} ); }) diff --git a/components/発車時刻表/LED_vidion.js b/components/発車時刻表/LED_vidion.js index db4faf9..b9d350d 100644 --- a/components/発車時刻表/LED_vidion.js +++ b/components/発車時刻表/LED_vidion.js @@ -390,7 +390,7 @@ const TrainName = ({ 6 ? parseInt("13%") : parseInt("18%"), + fontSize: trainName.length > 6 ? parseInt("12%") : parseInt("16%"), color: color, fontWeight: "bold", }} @@ -406,7 +406,7 @@ const LastStation = ({ lastStation }) => { 4 ? parseInt("13%") : parseInt("18%"), + fontSize: lastStation.length > 4 ? parseInt("12%") : parseInt("16%"), color: "white", fontWeight: "bold", }} @@ -421,7 +421,7 @@ const DependTime = ({ time }) => ( { ( { let data = d.split(" "); return ( - + {data[0].replace("\n", "")} - {data[1]} - {data[3]} + {data[1]} + {data[3]} ); })