瀏覽代碼

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

Loading…
取消
儲存