From 45c5aca7ea6f706e8fd979ac069a1fea714ea550 Mon Sep 17 00:00:00 2001 From: Thibault Jan Beyer Date: Sun, 24 Sep 2023 15:09:40 +0200 Subject: [PATCH] move user-select none to basics --- DragSelect/__tests__/functional/basics.css | 10 +++++++++- DragSelect/__tests__/functional/drag-n-drop-area.html | 3 --- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/DragSelect/__tests__/functional/basics.css b/DragSelect/__tests__/functional/basics.css index c43d3be7..31fa8061 100644 --- a/DragSelect/__tests__/functional/basics.css +++ b/DragSelect/__tests__/functional/basics.css @@ -1,4 +1,12 @@ -html, body { +* { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +html, +body { padding: 0; margin: 0; } diff --git a/DragSelect/__tests__/functional/drag-n-drop-area.html b/DragSelect/__tests__/functional/drag-n-drop-area.html index f9a096dc..4924d4ba 100644 --- a/DragSelect/__tests__/functional/drag-n-drop-area.html +++ b/DragSelect/__tests__/functional/drag-n-drop-area.html @@ -8,9 +8,6 @@ top: 0; width: 100px; } - * { - user-select: none; - }

Draggable