password maxlength and wrapping

This commit is contained in:
Erica Wright 2017-10-25 10:50:37 -04:00
parent 82a8283b6e
commit 6e7ed3cea3
No known key found for this signature in database
GPG Key ID: D9F2AF9D67D0AAB7
3 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,7 @@ module.exports = function(state, emit) {
${label}
<form id="unlock" onsubmit=${checkPassword}>
<input id="unlock-input"
maxlength="64"
autocomplete="off"
placeholder="${state.translate('unlockInputPlaceholder')}"
type="password"/>

View File

@ -11,6 +11,7 @@ module.exports = function(state, emit) {
</div>
<form class="setPassword hidden" onsubmit=${setPassword}>
<input id="unlock-input"
maxlength="64"
autocomplete="off"
placeholder="${state.translate('unlockInputPlaceholder')}"/>
<input type="submit"

View File

@ -646,6 +646,7 @@ tbody {
padding: 10px 0;
align-self: left;
max-width: 100%;
overflow-wrap: break-word;
}
.setPassword {