mirror of
https://github.com/usememos/memos.git
synced 2025-11-12 10:21:53 +08:00
fix: input/textarea unselectable
This commit is contained in:
parent
3874523e61
commit
6ad6ba2327
1 changed files with 7 additions and 2 deletions
|
|
@ -35,9 +35,7 @@ pre {
|
||||||
}
|
}
|
||||||
|
|
||||||
label,
|
label,
|
||||||
input,
|
|
||||||
button,
|
button,
|
||||||
textarea,
|
|
||||||
img {
|
img {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
@ -45,6 +43,13 @@ img {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input,
|
||||||
|
textarea {
|
||||||
|
background-color: transparent;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
input:-webkit-autofill,
|
input:-webkit-autofill,
|
||||||
input:-webkit-autofill:hover,
|
input:-webkit-autofill:hover,
|
||||||
input:-webkit-autofill:focus,
|
input:-webkit-autofill:focus,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue