From 0583fa41fe9633c650b6dd1830ac4c2cb98f08b9 Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Thu, 16 Dec 2021 16:18:35 +0100 Subject: [PATCH] Prevent selecting static text on text annotations. Otherwise an accidential drag-drop will try to load a PDF from the selected text. --- css/pdfdraw.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/css/pdfdraw.css b/css/pdfdraw.css index 59c5ee8..93af5a1 100644 --- a/css/pdfdraw.css +++ b/css/pdfdraw.css @@ -281,6 +281,7 @@ margin-bottom: 5px; font-size: 18px; cursor: pointer; + user-select: none; } .textareaContainer .deleteButton[disabled] { @@ -298,4 +299,5 @@ text-overflow: ellipsis; white-space: nowrap; border-radius: 4px; + user-select: none; }