Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: input/textarea unselectable

email6ad6ba2327f5
diff --git a/web/src/less/global.less b/web/src/less/global.less
index 29660f907..fc83ca946 100644
--- a/web/src/less/global.less
+++ b/web/src/less/global.less
@@ -35,9 +35,7 @@ pre {
}
label,
-input,
button,
-textarea,
img {
background-color: transparent;
user-select: none;
@@ -45,6 +43,13 @@ img {
outline: none;
}
+input,
+textarea {
+ background-color: transparent;
+ -webkit-tap-highlight-color: transparent;
+ outline: none;
+}
+
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,