Skip to content

Commit

Permalink
fix(schedules): update S-89 to handle language with long translation
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao committed Dec 1, 2023
1 parent 1c9c6e9 commit 9c3cad5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/current/views/S89/S89StudentNote.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const S89StudentNote = () => {

return (
<View style={styles.studentNote}>
<Html style={{ fontSize: styles.studentNote.fontSize }}>{t('s89DescFooter', { lng: source_lang })}</Html>
<Html style={{ fontSize: styles.studentNote.fontSize, lineHeight: styles.studentNote.lineHeight }}>
{t('s89DescFooter', { lng: source_lang })}
</Html>
</View>
);
};
Expand Down
7 changes: 4 additions & 3 deletions src/current/views/S89/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const styles = StyleSheet.create({
},
header: {
fontWeight: 'bold',
marginBottom: '10px',
marginBottom: '8px',
lineHeight: 1.2,
textAlign: 'center',
fontSize: '12px',
Expand Down Expand Up @@ -45,7 +45,7 @@ const styles = StyleSheet.create({
fontSize: '11px',
},
toBeGiven: {
marginTop: '15px',
marginTop: '12px',
fontSize: '12px',
fontWeight: 'bold',
},
Expand All @@ -69,7 +69,8 @@ const styles = StyleSheet.create({
studentNote: {
fontSize: '9px',
textAlign: 'justify',
marginTop: '15px',
marginTop: '12px',
lineHeight: 1.1,
},
footer: {
fontSize: '8px',
Expand Down

0 comments on commit 9c3cad5

Please sign in to comment.