From c2757bec7d3703278a248ba3dc2fae0fbf6c2d57 Mon Sep 17 00:00:00 2001 From: Artem Lavrukhin Date: Fri, 15 Oct 2021 16:02:01 +0300 Subject: [PATCH] [stable22] Extend drag-and-drop zone in card sidebar Signed-off-by: Artem Lavrukhin --- src/components/AttachmentDragAndDrop.vue | 6 ++++++ src/components/card/CardSidebar.vue | 13 +++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/components/AttachmentDragAndDrop.vue b/src/components/AttachmentDragAndDrop.vue index 1e237655a..f6f2fb235 100644 --- a/src/components/AttachmentDragAndDrop.vue +++ b/src/components/AttachmentDragAndDrop.vue @@ -131,6 +131,12 @@ export default { position: relative; } + .attachments-drag-zone.drop-upload--sidebar { + display: flex; + flex-direction: column; + flex-basis: 100%; + } + .dragover { position: absolute; background: var(--color-primary-light); diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue index 8eb22fd4f..af4e64fc2 100644 --- a/src/components/card/CardSidebar.vue +++ b/src/components/card/CardSidebar.vue @@ -185,6 +185,13 @@ export default {