瀏覽代碼

fix(feedback): modify user-select none declaration for edge

master
Leonard Kim 7 年之前
父節點
當前提交
1f0dc6fcd8
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7
    1
      css/_base.scss

+ 7
- 1
css/_base.scss 查看文件

@@ -3,11 +3,17 @@
3 3
  * none is applied. Other browsers already support selecting within inputs while
4 4
  * user-select is none. As such, disallow user-select except on inputs.
5 5
  */
6
-*:not(input) {
6
+* {
7 7
     -webkit-user-select: none;
8 8
     user-select: none;
9 9
 }
10 10
 
11
+input,
12
+textarea {
13
+    -webkit-user-select: text;
14
+    user-select: text;
15
+}
16
+
11 17
 body {
12 18
     margin: 0px;
13 19
     width: 100%;

Loading…
取消
儲存