feat: dnd overlay fix

This commit is contained in:
mathuo 2024-02-16 22:44:39 +00:00
parent 0b1a09d910
commit 157ea8a3d1
No known key found for this signature in database
GPG Key ID: C6EEDEFD6CA07281

View File

@ -333,7 +333,7 @@ export class Droptarget extends CompositeDisposable {
} else if (topClass) {
box.height = `${100 * size}%`;
} else if (bottomClass) {
box.top = `${100 * size}%`;
box.top = `${100 * (1 - size)}%`;
box.height = `${100 * size}%`;
}