From d36d6717b7145dbf03eda76ea3627ef19312e871 Mon Sep 17 00:00:00 2001 From: Mike Odnis <95197809+WomB0ComB0@users.noreply.github.com> Date: Wed, 10 Apr 2024 18:27:50 -0400 Subject: [PATCH] Minor touch ups, should check on vertical padding --- client/src/components/PdfPrint/PdfPrint.js | 6 +++--- client/src/components/PdfPrint/PdfResult.js | 3 ++- .../WizardPages/ProjectSummary/ProjectInfoList.jsx | 2 +- .../WizardPages/ProjectSummary/ProjectSummary.js | 3 ++- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/client/src/components/PdfPrint/PdfPrint.js b/client/src/components/PdfPrint/PdfPrint.js index 1dedee8b..fe16e3ac 100644 --- a/client/src/components/PdfPrint/PdfPrint.js +++ b/client/src/components/PdfPrint/PdfPrint.js @@ -45,17 +45,17 @@ const useStyles = createUseStyles({ alignItems: "center", gap: "2px", backgroundColor: "#edf1f4", - backgroundImage: "linear-gradient(90deg, #edf1f4 0%, #ffffff 100%)" + backgroundImage: "linear-gradient(90deg, #edf1f4 0%, #000 100%)" }, categoryHeader: { - fontSize: "16px", + fontSize: "18px", fontWeight: "600", width: "100%", backgroundColor: "#edf1f4" }, pdfResultsContainer: { flexDirection: "column", - padding: "10px 0.8em", + padding: "10px 0.2em", maxWidth: "100%" }, measuresContainer: { diff --git a/client/src/components/PdfPrint/PdfResult.js b/client/src/components/PdfPrint/PdfResult.js index 7c519f5d..498c6749 100644 --- a/client/src/components/PdfPrint/PdfResult.js +++ b/client/src/components/PdfPrint/PdfResult.js @@ -7,7 +7,8 @@ const useStyles = createUseStyles({ marginTop: "10px", marginBottom: "-10px", padding: "0px", - fontSize: "17px" + fontSize: "17px", + textIndent: "10px" } }); diff --git a/client/src/components/ProjectWizard/WizardPages/ProjectSummary/ProjectInfoList.jsx b/client/src/components/ProjectWizard/WizardPages/ProjectSummary/ProjectInfoList.jsx index 37bdba58..beae0095 100644 --- a/client/src/components/ProjectWizard/WizardPages/ProjectSummary/ProjectInfoList.jsx +++ b/client/src/components/ProjectWizard/WizardPages/ProjectSummary/ProjectInfoList.jsx @@ -37,7 +37,7 @@ const ProjectInfoList = props => { const classes = useStyles(); const { name, rule } = props; - const values = rule.value.split(","); + const values = rule.value ? rule.value.split(",") : []; return (
diff --git a/client/src/components/ProjectWizard/WizardPages/ProjectSummary/ProjectSummary.js b/client/src/components/ProjectWizard/WizardPages/ProjectSummary/ProjectSummary.js index e2f99479..18a2c813 100644 --- a/client/src/components/ProjectWizard/WizardPages/ProjectSummary/ProjectSummary.js +++ b/client/src/components/ProjectWizard/WizardPages/ProjectSummary/ProjectSummary.js @@ -77,7 +77,8 @@ const useStyles = createUseStyles({ fontFamily: "Calibri", fontWeight: "700", fontStyle: "normal", - lineHeight: "32px" + lineHeight: "32px", + background: "#E7EBF0" // fontSmoothing: "antialiased" }, resultsContainer: {