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:
@@ -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;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user