Skip to content

Commit

Permalink
move user-select none to basics
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultJanBeyer committed Sep 24, 2023
1 parent 2d1b8cb commit 45c5aca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 9 additions & 1 deletion DragSelect/__tests__/functional/basics.css
Original file line number Diff line number Diff line change
@@ -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;
}
Expand Down
3 changes: 0 additions & 3 deletions DragSelect/__tests__/functional/drag-n-drop-area.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
top: 0;
width: 100px;
}
* {
user-select: none;
}
</style>
<script src="../../dist/DragSelect.js"></script>
<p>Draggable</p>
Expand Down

0 comments on commit 45c5aca

Please sign in to comment.