From 9c3cad52e12ced5b05b0f0602b9c57281ef6fd17 Mon Sep 17 00:00:00 2001 From: rhahao <26148770+rhahao@users.noreply.github.com> Date: Fri, 1 Dec 2023 21:49:25 +0300 Subject: [PATCH] fix(schedules): update S-89 to handle language with long translation --- src/current/views/S89/S89StudentNote.jsx | 4 +++- src/current/views/S89/styles.js | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/current/views/S89/S89StudentNote.jsx b/src/current/views/S89/S89StudentNote.jsx index c05350fd51..21389e99fc 100644 --- a/src/current/views/S89/S89StudentNote.jsx +++ b/src/current/views/S89/S89StudentNote.jsx @@ -11,7 +11,9 @@ const S89StudentNote = () => { return ( - {t('s89DescFooter', { lng: source_lang })} + + {t('s89DescFooter', { lng: source_lang })} + ); }; diff --git a/src/current/views/S89/styles.js b/src/current/views/S89/styles.js index 7d08deae64..9e145e6fb5 100644 --- a/src/current/views/S89/styles.js +++ b/src/current/views/S89/styles.js @@ -15,7 +15,7 @@ const styles = StyleSheet.create({ }, header: { fontWeight: 'bold', - marginBottom: '10px', + marginBottom: '8px', lineHeight: 1.2, textAlign: 'center', fontSize: '12px', @@ -45,7 +45,7 @@ const styles = StyleSheet.create({ fontSize: '11px', }, toBeGiven: { - marginTop: '15px', + marginTop: '12px', fontSize: '12px', fontWeight: 'bold', }, @@ -69,7 +69,8 @@ const styles = StyleSheet.create({ studentNote: { fontSize: '9px', textAlign: 'justify', - marginTop: '15px', + marginTop: '12px', + lineHeight: 1.1, }, footer: { fontSize: '8px',