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

@@ -3,15 +3,20 @@ import { styles } from "./styles";
import { View, Text } from "@react-pdf/renderer";
const TestReportFooter = () => (
<View style={[{ paddingTop: 30, fontSize: 5, position: 'absolute', bottom: 30, left: 35, right: 35 }, styles.textFont,]}>
<View
style={[
styles.spacedRow,
{
paddingHorizontal: 10,
},
]}
>
<View
style={[
{
paddingTop: 30,
fontSize: 5,
position: "absolute",
bottom: 30,
left: 35,
right: 35,
},
styles.textFont,
]}
>
<View style={[styles.spacedRow, styles.textMargin]}>
<View>
<Text>Validity</Text>
<Text>
@@ -52,4 +57,4 @@ const TestReportFooter = () => (
</View>
);
export default TestReportFooter;
export default TestReportFooter;