Lock Screen: Disable keychain dialog, fix iOS pattern, remove Edge eye icon
This commit is contained in:
parent
074a2d59a0
commit
2cc77b3d6b
@ -104,12 +104,25 @@ const PasswordForm: FC<OwnProps> = ({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function renderFakeInput() {
|
||||||
|
return (
|
||||||
|
<input
|
||||||
|
type="password"
|
||||||
|
id="prevent_autofill"
|
||||||
|
autoComplete="off"
|
||||||
|
className="visually-hidden"
|
||||||
|
tabIndex={-2}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<form action="" onSubmit={handleSubmit} autoComplete="off">
|
<form action="" onSubmit={handleSubmit} autoComplete="off">
|
||||||
<div
|
<div
|
||||||
className={buildClassName('input-group password-input', password && 'touched', error && 'error')}
|
className={buildClassName('input-group password-input', password && 'touched', error && 'error')}
|
||||||
dir={lang.isRtl ? 'rtl' : undefined}
|
dir={lang.isRtl ? 'rtl' : undefined}
|
||||||
>
|
>
|
||||||
|
{shouldDisablePasswordManager && renderFakeInput()}
|
||||||
<input
|
<input
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
className="form-control"
|
className="form-control"
|
||||||
|
|||||||
@ -30,6 +30,11 @@
|
|||||||
background-image: url('../../assets/chat-bg-pattern-dark.png');
|
background-image: url('../../assets/chat-bg-pattern-dark.png');
|
||||||
mix-blend-mode: unset;
|
mix-blend-mode: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
bottom: auto;
|
||||||
|
height: calc(var(--vh, 1vh) * 100);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -168,6 +168,11 @@
|
|||||||
clip: rect(0, 0, 0, 0);
|
clip: rect(0, 0, 0, 0);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&::-ms-clear,
|
||||||
|
&::-ms-reveal {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
select.form-control {
|
select.form-control {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user