panhui 4 lat temu
rodzic
commit
7225ae3328
1 zmienionych plików z 11 dodań i 14 usunięć
  1. 11 14
      src/main/nine-space/src/styles/app.less

+ 11 - 14
src/main/nine-space/src/styles/app.less

@@ -32,21 +32,18 @@
   --van-active-color: @bg3;
   --van-image-placeholder-background-color: @bg2;
 }
-input,
-input:hover,
-input:visited,
-input:active,
-input:focus,
-select,
-button {
-  outline: none;
-  border: none;
-  -webkit-appearance: none;
-  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
-  -webkit-user-select: none;
-  user-select: none;
-  -moz-user-focus: none;
+
+
+[contenteditable="true"], input, textarea {
+    -webkit-user-select: auto!important;
+    -khtml-user-select: auto!important;
+    -moz-user-select: auto!important;
+    -ms-user-select: auto!important;
+    -o-user-select: auto!important;
+    user-select: auto!important;
 }
+
+
 .van-divider::after,
 .van-divider::before {
   height: 5px;