make user-select none by default
This commit is contained in:
@@ -8,6 +8,18 @@ html, body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#app {
|
||||
height: 100%;
|
||||
body {
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.selectable {
|
||||
-webkit-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
#app {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,6 @@ export default defineComponent({
|
||||
|
||||
<template>
|
||||
<div class="result">
|
||||
<pre>{{ data }}</pre>
|
||||
<pre class="selectable">{{ data }}</pre>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user