Removed some horizontal margins on PDFs

This commit is contained in:
Joao Ramos
2024-01-12 00:32:02 +00:00
parent 7714854338
commit cb91acdded
4 changed files with 28 additions and 27 deletions

View File

@@ -103,13 +103,13 @@ const GroupTestReport = ({
{title}
</Text>
</View>
<View style={styles.textPadding}>
<View style={styles.textMargin}>
<Text style={defaultTextStyle}>Date of Test: {date}</Text>
</View>
<Text style={[styles.textFont, styles.textBold, { fontSize: 11 }]}>
Candidate Information:
</Text>
<View style={styles.textPadding}>
<View style={styles.textMargin}>
<Text style={defaultTextStyle}>Name: {name}</Text>
<Text style={defaultTextStyle}>ID: {id}</Text>
<Text style={defaultTextStyle}>Email: {email}</Text>
@@ -193,10 +193,8 @@ const GroupTestReport = ({
]}
key={label}
>
<Text style={customStyles.tableCell}>
{label}
</Text>
<View style={[customStyles.tableCell, { flex: 2}]}>
<Text style={customStyles.tableCell}>{label}</Text>
<View style={[customStyles.tableCell, { flex: 2 }]}>
<ProgressBar
width={200}
height={18}