From 883cf0346b3eb632a6cb8ec5be6247a692ddd801 Mon Sep 17 00:00:00 2001 From: qixing-jk Date: Mon, 17 Nov 2025 15:30:46 +0800 Subject: [PATCH] fix(password input): disable Edge/IE reveal and clear buttons (#232) Hide default password reveal and clear controls in Microsoft browsers for improved consistency and security. --- src/index.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.css b/src/index.css index 929d4f4..8a58a66 100644 --- a/src/index.css +++ b/src/index.css @@ -153,3 +153,9 @@ html.dark ::-webkit-scrollbar-thumb:hover { border-color: hsl(var(--primary) / 0.6); } } + +/* 禁用 Edge / IE 的密码显示按钮 */ +input[type="password"]::-ms-reveal, +input[type="password"]::-ms-clear { + display: none; +}