1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-30 14:00:07 +02:00

Fix css user-select for input

This commit is contained in:
Chen-I Lim 2020-12-04 10:18:57 -08:00
parent 22314a5825
commit c396613161

View File

@ -26,9 +26,14 @@ html, body {
background: rgb(var(--main-bg));
}
input {
input, textarea {
background: rgb(var(--main-bg));
color: rgb(var(--main-fg));
-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 */
}
body {
@ -166,6 +171,13 @@ hr {
color: rgba(var(--main-fg), 0.4);
}
[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 */
}
[contentEditable=true]:empty:before{
content: attr(placeholder);
display: block;