Fix crashing on droping text (#302)

* Add basic drop overlay

* Prevent crash when dragging text

* Only show popup when files are being dragged

* Make drop box bigger

* Make drag drop overlay without a modal

* Don't show drag drop menu on top of modals

* Use different way to check for modal
This commit is contained in:
ginnyTheCat
2022-02-09 03:59:21 +01:00
committed by GitHub
parent 4803d48ec7
commit 6d9e67b9f2
4 changed files with 84 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
.drag-drop__model {
box-shadow: none;
text-align: center;
.text {
color: white;
}
}
.drag-drop__overlay {
background-color: var(--bg-overlay-low);
}