diff --git a/components/pdftemplates/lpaQuestionnaire_pdf.js b/components/pdftemplates/lpaQuestionnaire_pdf.js index 6c9de0f5..16171483 100644 --- a/components/pdftemplates/lpaQuestionnaire_pdf.js +++ b/components/pdftemplates/lpaQuestionnaire_pdf.js @@ -53,6 +53,27 @@ const styles = StyleSheet.create({ paddingLeft: 10, backgroundColor: "white", }, + questionAnswerSmall: { + color: "#757575", + width: "300", + fontSize: 12, + padding: 5, + border: 1, + borderColor: "#eee", + paddingLeft: 10, + backgroundColor: "white", + marginRight: 10, + }, + questionAnswerSmaller: { + color: "#757575", + width: "90", + fontSize: 12, + padding: 5, + border: 1, + borderColor: "#eee", + paddingLeft: 10, + backgroundColor: "white", + }, questionAnswerMid: { color: "#757575", width: "20%", @@ -74,6 +95,15 @@ const styles = StyleSheet.create({ padding: 5, }, + questionAnswerFull: { + color: "#757575", + width: "100%", + fontSize: 10, + padding: 5, + border: 1, + borderColor: "#eee", + backgroundColor: "white", + }, sectionContainer: { backgroundColor: "#F8F8F8", padding: 10, @@ -489,7 +519,6 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => { - ] { }} > {getTrans( docProps.locale, "s78-section-question-signed" )} - - {values.caseOfficer} + + w{values.caseOfficer} { alignItems: "center", }} > - + {getTrans( docProps.locale, "s78-section-question-date" )} - + {formatDates(values.signedDate)} @@ -1487,9 +1519,6 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => { marginBottom: 10, }} > - {getTrans( docProps.locale, @@ -1499,7 +1528,7 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => { @@ -1516,14 +1545,16 @@ export const lpaQuestionnaire_pdf = ({ docProps }) => { > - {p.name} -{" "} + {p.name} + {"\n"}( {bytesToSize( - p.contentLength - )}{" "} - {"\n"} + p.contentLength || + p.size + )} + ){" "} );