Преглед изворни кода

Merge pull request #1500 from virtuacoplenny/whitelist-user-select

fix: do not apply user-select none to inputs
j8
yanas пре 8 година
родитељ
комит
dc994173d7
1 измењених фајлова са 6 додато и 1 уклоњено
  1. 6
    1
      css/_base.scss

+ 6
- 1
css/_base.scss Прегледај датотеку

1
-* {
1
+/**
2
+ * Safari will limit input in input elements to one character when user-select
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.
5
+ */
6
+*:not(input) {
2
     -webkit-user-select: none;
7
     -webkit-user-select: none;
3
     user-select: none;
8
     user-select: none;
4
 }
9
 }

Loading…
Откажи
Сачувај