From 7d94f93d95b90ec0a0e3f77c3438d4cccd1aa0ce Mon Sep 17 00:00:00 2001 From: Laurent Bonnet Date: Fri, 11 Oct 2024 16:45:02 +0200 Subject: [PATCH] [frontend] fix ui after apexcharts update 3.54.0 --- .../StixCoreObjectSimulationResult.jsx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectSimulationResult.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectSimulationResult.jsx index eed85e8bf59e..6b0fafe97a09 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectSimulationResult.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_objects/StixCoreObjectSimulationResult.jsx @@ -55,14 +55,14 @@ const useStyles = makeStyles((theme) => ({ }, chart: { position: 'absolute', - top: -6, - left: -28, + top: -5, + left: -5, }, iconOverlay: { fontSize: 18, position: 'absolute', - top: 17, - left: 39, + top: 16, + left: 16, }, buttons: { marginTop: 20, @@ -255,8 +255,8 @@ const StixCoreObjectSimulationResult = ({ id, type }) => { options={options} series={[prevention.unknown, prevention.success, prevention.failure]} type="donut" - width={95} - height={95} + width={50} + height={50} /> @@ -269,8 +269,8 @@ const StixCoreObjectSimulationResult = ({ id, type }) => { options={options} series={[detection.unknown, detection.success, detection.failure]} type="donut" - width={95} - height={95} + width={50} + height={50} /> @@ -283,8 +283,8 @@ const StixCoreObjectSimulationResult = ({ id, type }) => { options={options} series={[human.unknown, human.success, human.failure]} type="donut" - width={95} - height={95} + width={50} + height={50} />