Fix css user-select for input
This commit is contained in:
parent
22314a5825
commit
c396613161
1 changed files with 13 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue