From d43b0a19429d3ce0a9631767779d40497c5bba3b Mon Sep 17 00:00:00 2001 From: harukin-expo-dev-env Date: Sat, 9 Mar 2024 13:49:05 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=95=E3=82=A9=E3=83=B3=E3=83=88=E3=82=B5?= =?UTF-8?q?=E3=82=A4=E3=82=BA=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ActionSheetComponents/JRSTraInfo.js | 6 +++--- components/発車時刻表/LED_vidion.js | 10 +++++----- menu.js | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) 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]} ); })