Skip to content

Commit 1e4dac6

Browse files
authored
Remove Microsoft Edge "Reveal" icon from password field (#595)
* Ensure MS Edge's "reval" password icon is not displayed * Ensure MS Edge's "reval" password icon is not displayed * Remove double declaration --------- Co-authored-by: Jan Skovgaard Olsen <[email protected]>
1 parent 1a7ba8b commit 1e4dac6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/uui-input/lib/uui-input.element.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,11 @@ export class UUIInputElement extends FormControlMixin(
158158
input::placeholder {
159159
transition: opacity 120ms;
160160
}
161+
162+
input[type='password']::-ms-reveal {
163+
display: none;
164+
}
165+
161166
:host(:not([readonly])) input:focus::placeholder {
162167
opacity: 0;
163168
}

0 commit comments

Comments
 (0)