From f1fc7a55dcf9d34198e87cb68b6dd6cbaa396a61 Mon Sep 17 00:00:00 2001 From: tienifr Date: Thu, 16 Mar 2023 00:49:43 +0700 Subject: [PATCH] fix: donot allow user select placeholder --- web/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/index.html b/web/index.html index 2cd2fce8ad04..4da68485e4c8 100644 --- a/web/index.html +++ b/web/index.html @@ -34,8 +34,9 @@ #drag-area { -webkit-app-region: drag; } - input[type=text] { - -webkit-user-select: text !important; + input::placeholder { + user-select: none; + -webkit-user-select: none } .disable-select * { -webkit-user-select: none !important;