mirror of
https://github.com/apankrat/nullboard.git
synced 2025-07-31 10:20:25 +02:00
disable user-select on <body> when dragging notes
This commit is contained in:
@@ -232,6 +232,16 @@
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/***/
|
||||
body.dragging {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/***/
|
||||
.board {
|
||||
min-width: calc( var(--lw) * 1px );
|
||||
@@ -243,6 +253,11 @@
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user