From fd5c33dd5d1145772b8a9cc85e36b19d8934c3b4 Mon Sep 17 00:00:00 2001 From: Maksim Eltyshev Date: Mon, 5 Feb 2024 13:24:50 +0100 Subject: [PATCH] fix: Remove overflow of attachment dropzone --- .../CardModal/AttachmentAddZone/AttachmentAddZone.jsx | 2 +- .../CardModal/AttachmentAddZone/AttachmentAddZone.module.scss | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/client/src/components/CardModal/AttachmentAddZone/AttachmentAddZone.jsx b/client/src/components/CardModal/AttachmentAddZone/AttachmentAddZone.jsx index 3236d92e..66a0e893 100644 --- a/client/src/components/CardModal/AttachmentAddZone/AttachmentAddZone.jsx +++ b/client/src/components/CardModal/AttachmentAddZone/AttachmentAddZone.jsx @@ -94,7 +94,7 @@ const AttachmentAddZone = React.memo(({ children, onCreate }) => { return ( <> {/* eslint-disable-next-line react/jsx-props-no-spreading */} -
+
{isDragActive &&
{t('common.dropFileToUpload')}
} {children} {/* eslint-disable-next-line react/jsx-props-no-spreading */} diff --git a/client/src/components/CardModal/AttachmentAddZone/AttachmentAddZone.module.scss b/client/src/components/CardModal/AttachmentAddZone/AttachmentAddZone.module.scss index b0489dd5..782f487b 100644 --- a/client/src/components/CardModal/AttachmentAddZone/AttachmentAddZone.module.scss +++ b/client/src/components/CardModal/AttachmentAddZone/AttachmentAddZone.module.scss @@ -12,8 +12,4 @@ width: 100%; z-index: 2001; } - - .wrapper { - overflow: hidden; - } }