From 6ad6ba2327f5b97ee878dcd103f498a0e43da7a4 Mon Sep 17 00:00:00 2001 From: email Date: Sat, 19 Feb 2022 18:52:50 +0800 Subject: [PATCH] fix: input/textarea unselectable --- web/src/less/global.less | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/web/src/less/global.less b/web/src/less/global.less index 29660f90..fc83ca94 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,