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.
This commit is contained in:
qixing-jk
2025-11-17 15:30:46 +08:00
committed by GitHub
parent 1805ed586e
commit 883cf0346b

View File

@@ -153,3 +153,9 @@ html.dark ::-webkit-scrollbar-thumb:hover {
border-color: hsl(var(--primary) / 0.6); border-color: hsl(var(--primary) / 0.6);
} }
} }
/* 禁用 Edge / IE 的密码显示按钮 */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
display: none;
}