Skip to content

Commit

Permalink
Fixing text selection in all inputs for Firefox (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino committed Aug 18, 2021
1 parent 926e2f6 commit ee5a047
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions webapp/src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ html {
background: rgb(var(--center-channel-bg-rgb));
color: rgb(var(--center-channel-color-rgb));

-webkit-user-select: auto; /* Chrome all / Safari all */
-moz-user-select: auto; /* Firefox all */
-ms-user-select: auto; /* IE 10+ */
user-select: auto; /* Likely future */
-webkit-user-select: text; /* Chrome all / Safari all */
-moz-user-select: text; /* Firefox all */
-ms-user-select: text; /* IE 10+ */
user-select: text; /* Likely future */
}

padding: 0;
Expand Down Expand Up @@ -174,10 +174,10 @@ html {
}

[contentEditable="true"] {
-webkit-user-select: auto; /* Chrome all / Safari all */
-moz-user-select: auto; /* Firefox all */
-ms-user-select: auto; /* IE 10+ */
user-select: auto; /* Likely future */
-webkit-user-select: text; /* Chrome all / Safari all */
-moz-user-select: text; /* Firefox all */
-ms-user-select: text; /* IE 10+ */
user-select: text; /* Likely future */
}

[contentEditable="true"]:empty:before {
Expand Down

0 comments on commit ee5a047

Please sign in to comment.