Merge pull request #1500 from virtuacoplenny/whitelist-user-select
fix: do not apply user-select none to inputs
This commit is contained in:
commit
dc994173d7
|
@ -1,4 +1,9 @@
|
||||||
* {
|
/**
|
||||||
|
* Safari will limit input in input elements to one character when user-select
|
||||||
|
* none is applied. Other browsers already support selecting within inputs while
|
||||||
|
* user-select is none. As such, disallow user-select except on inputs.
|
||||||
|
*/
|
||||||
|
*:not(input) {
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue