login: Remove browser show password in IE, edge.

The Microsoft browsers such as IE and Edge has their own
show password that is a bit bugy and also conflicts with
the show password in Zulip that was added in #17305.
This fixes the issue by making the display none for the
ms-reveal that comes in the input.

More details can be found at
https://chat.zulip.org/#narrow/stream/101-design/topic/Show.20password/near/1173890
This commit is contained in:
Signior-X
2021-06-12 14:23:28 +05:30
committed by Tim Abbott
parent 42774b101f
commit 1b2967ddb5

View File

@@ -121,6 +121,12 @@ i.zulip-icon.zulip-icon-bot {
font-size: 12px;
}
/* Hide the somewhat buggy browser show password feature in IE, Edge,
since it duplicates our own "show password" widget. */
input::-ms-reveal {
display: none;
}
.password-div {
position: relative;