Fixing text selection in all inputs for Firefox (#1025)

This commit is contained in:
Jesús Espino 2021-08-18 02:41:55 +02:00 committed by GitHub
parent 83a45ae706
commit 249a8c23a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,10 +44,10 @@ html {
background: rgb(var(--center-channel-bg-rgb)); background: rgb(var(--center-channel-bg-rgb));
color: rgb(var(--center-channel-color-rgb)); color: rgb(var(--center-channel-color-rgb));
-webkit-user-select: auto; /* Chrome all / Safari all */ -webkit-user-select: text; /* Chrome all / Safari all */
-moz-user-select: auto; /* Firefox all */ -moz-user-select: text; /* Firefox all */
-ms-user-select: auto; /* IE 10+ */ -ms-user-select: text; /* IE 10+ */
user-select: auto; /* Likely future */ user-select: text; /* Likely future */
} }
padding: 0; padding: 0;
@ -174,10 +174,10 @@ html {
} }
[contentEditable="true"] { [contentEditable="true"] {
-webkit-user-select: auto; /* Chrome all / Safari all */ -webkit-user-select: text; /* Chrome all / Safari all */
-moz-user-select: auto; /* Firefox all */ -moz-user-select: text; /* Firefox all */
-ms-user-select: auto; /* IE 10+ */ -ms-user-select: text; /* IE 10+ */
user-select: auto; /* Likely future */ user-select: text; /* Likely future */
} }
[contentEditable="true"]:empty:before { [contentEditable="true"]:empty:before {