Extend drag-and-drop zone in card sidebar

Signed-off-by: Igor Denisenko <old-green-frog@mail.ru>
This commit is contained in:
old-green-frog
2021-09-16 14:44:51 +03:00
committed by Igor Denisenko
parent e11bea04e6
commit 6551ba2210
2 changed files with 13 additions and 6 deletions

View File

@@ -131,6 +131,12 @@ export default {
position: relative; position: relative;
} }
.attachments-drag-zone.drop-upload--sidebar {
display: flex;
flex-direction: column;
flex-basis: 100%;
}
.dragover { .dragover {
position: absolute; position: absolute;
background: var(--color-primary-light); background: var(--color-primary-light);

View File

@@ -185,6 +185,13 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
section.app-sidebar__tab--active {
min-height: auto;
display: flex;
flex-direction: column;
height: 100%;
}
// FIXME: Obivously we should at some point not randomly reuse the sidebar component // FIXME: Obivously we should at some point not randomly reuse the sidebar component
// since this is not oficially supported // since this is not oficially supported
.modal__card .app-sidebar { .modal__card .app-sidebar {
@@ -214,12 +221,6 @@ export default {
background-color: var(--color-main-background); background-color: var(--color-main-background);
} }
section.app-sidebar__tab--active {
min-height: auto;
display: flex;
flex-direction: column;
}
#emptycontent, .emptycontent { #emptycontent, .emptycontent {
margin-top: 88px; margin-top: 88px;
} }