Fixing text selection in all inputs for Firefox (#1025)
This commit is contained in:
parent
83a45ae706
commit
249a8c23a4
1 changed files with 8 additions and 8 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue