From 6551ba2210f4898d2c44c1360467a14a39c806f3 Mon Sep 17 00:00:00 2001 From: old-green-frog Date: Thu, 16 Sep 2021 14:44:51 +0300 Subject: [PATCH] Extend drag-and-drop zone in card sidebar Signed-off-by: Igor Denisenko --- 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 {