From 582446785646440a0cc5eacc0b2ee36f9122f288 Mon Sep 17 00:00:00 2001 From: Nils Kreiner Date: Wed, 19 Feb 2025 14:48:13 +0100 Subject: [PATCH] added cve description to the details page --- frontend/src/components/InfoBox.tsx | 2 +- frontend/src/page/ReportPage.tsx | 19 +++++++++++++++---- frontend/src/utilities/localization.tsx | 4 ++-- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/InfoBox.tsx b/frontend/src/components/InfoBox.tsx index 25ee81b..7ed5f1f 100644 --- a/frontend/src/components/InfoBox.tsx +++ b/frontend/src/components/InfoBox.tsx @@ -31,7 +31,7 @@ const boxProps = (headerComponent: React.ReactNode) => { display: "flex", flexDirection: "column", alignItems: "center", - justifyContent: "center", + justifyContent: "start", backgroundColor: mainTheme.palette.primary.main, borderRadius: "0.5rem", paddingTop: headerComponent === undefined ? "2rem" : 0, diff --git a/frontend/src/page/ReportPage.tsx b/frontend/src/page/ReportPage.tsx index fda9042..efe684f 100644 --- a/frontend/src/page/ReportPage.tsx +++ b/frontend/src/page/ReportPage.tsx @@ -482,7 +482,7 @@ const ReportPage: React.FunctionComponent = () => { }/> - + { "flexWrap": "wrap", "justifyContent": "space-evenly" }}> - + { }}/> - {localization.ReportDetailPage.cvssVectorString} { }/> + + + {localization.ReportDetailPage.infosFound.detailedDescriptionTitle} + {data?.data.report.cveObject.description} + + }/> +