password input at smaller screens

This commit is contained in:
Erica Wright 2017-10-24 11:19:08 -04:00
parent 1e4d6646c6
commit 82e206bccf
No known key found for this signature in database
GPG key ID: D9F2AF9D67D0AAB7
3 changed files with 28 additions and 20 deletions

View file

@ -6,7 +6,7 @@ module.exports = function(state, emit) {
fileInfo.password === null
? html`
<label class="red"
for="unlock-input">${state.translate('incorrectPassword')}</label>`
for="unlock-input">${state.translate('passwordTryAgain')}</label>`
: html`
<label for="unlock-input">
${state.translate('unlockInputLabel')}

View file

@ -7,7 +7,6 @@ module.exports = function(state, emit) {
<div id="addPasswordWrapper">
<input id="addPassword" type="checkbox" onchange=${togglePasswordInput}/>
<label for="addPassword">
<img src="/assets/check-16-blue.svg"/>
${state.translate('requirePasswordCheckbox')}</label>
</div>
<form class="setPassword hidden" onsubmit=${setPassword}>