From 3eb990165d71b7c293bed9bb226c9298962e3024 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 19 Jul 2026 10:50:10 +0000 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_01LwtnpHAoSFr1ZibQgQkNQK --- Client/tauri-client/src/styles/base.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Client/tauri-client/src/styles/base.css b/Client/tauri-client/src/styles/base.css index a81f4eb7..18300c70 100644 --- a/Client/tauri-client/src/styles/base.css +++ b/Client/tauri-client/src/styles/base.css @@ -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;