From ef0c3d306f6690517aa8306ed4d9e859caa15267 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Mon, 6 May 2024 14:59:21 +0100 Subject: [PATCH] Fix non-file dragover bug #597 (#598) --- www/css/app.css | 4 +++ www/index.html | 2 +- www/js/app.js | 94 ++++++++++++++++++++++++++++++++++++++----------- 3 files changed, 79 insertions(+), 21 deletions(-) diff --git a/www/css/app.css b/www/css/app.css index 771b492c..bf296e00 100644 --- a/www/css/app.css +++ b/www/css/app.css @@ -110,6 +110,10 @@ div:not(.panel-success, .alert-message) { padding-left: 1px !important; } +.dragging-over * { + pointer-events: none; +} + #articleList { margin-bottom: 12px !important; overflow-wrap: break-word; diff --git a/www/index.html b/www/index.html index bb7b4680..2713feba 100644 --- a/www/index.html +++ b/www/index.html @@ -1247,7 +1247,7 @@ Use legacy method for reading Zimit-based archives (may be faster on some systems) -