From 841503bf8e1d0a1d9305f2b122f53fde529dac20 Mon Sep 17 00:00:00 2001 From: Adrien Servel Date: Thu, 26 Sep 2024 17:10:41 +0200 Subject: [PATCH] [frontend] Fix on alignment --- .../src/private/components/common/drawer/Drawer.tsx | 2 +- .../StixCoreRelationshipCreationFromEntity.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/opencti-platform/opencti-front/src/private/components/common/drawer/Drawer.tsx b/opencti-platform/opencti-front/src/private/components/common/drawer/Drawer.tsx index 24eb5123df40..6bd3b1589586 100644 --- a/opencti-platform/opencti-front/src/private/components/common/drawer/Drawer.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/drawer/Drawer.tsx @@ -42,7 +42,7 @@ const useStyles = makeStyles((theme) => c alignItems: 'center', }, container: { - padding: theme.spacing(1), + padding: theme.spacing(2), height: '100%', }, mainButton: ({ bannerHeightNumber }) => ({ diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipCreationFromEntity.tsx b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipCreationFromEntity.tsx index 599b9e605bb3..360d5d39c74b 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipCreationFromEntity.tsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_core_relationships/StixCoreRelationshipCreationFromEntity.tsx @@ -46,7 +46,7 @@ import DataTable from '../../../../components/dataGrid/DataTable'; // Deprecated - https://mui.com/system/styles/basics/ // Do not use it for new code. -const useStyles = makeStyles((theme) => ({ +const useStyles = makeStyles(() => ({ createButton: { position: 'fixed', bottom: 30, @@ -60,7 +60,6 @@ const useStyles = makeStyles((theme) => ({ zIndex: 1001, }, container: { - padding: theme.spacing(2), width: '100%', height: '100%', maxHeight: '100%',