mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
fix(client): hide native WebView2 password reveal icon
WebView2/Edge renders its own password-reveal eye inside password inputs, stacking with the app's custom toggle on the login form. Hide the native ::-ms-reveal / ::-ms-clear controls globally. Fixes #123 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LwtnpHAoSFr1ZibQgQkNQK
This commit is contained in:
@@ -57,6 +57,18 @@ select {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* WebView2/Edge injects a native password-reveal eye; the app ships its own
|
||||
toggle (LoginForm), producing two icons. Hide the native controls.
|
||||
Kept as standalone rules — an unknown pseudo-element in a shared selector
|
||||
list would invalidate the other selectors. */
|
||||
input::-ms-reveal {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input::-ms-clear {
|
||||
display: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--text-link);
|
||||
text-decoration: none;
|
||||
|
||||
Reference in New Issue
Block a user