password maxlength and wrapping
This commit is contained in:
parent
82a8283b6e
commit
6e7ed3cea3
|
@ -16,6 +16,7 @@ module.exports = function(state, emit) {
|
||||||
${label}
|
${label}
|
||||||
<form id="unlock" onsubmit=${checkPassword}>
|
<form id="unlock" onsubmit=${checkPassword}>
|
||||||
<input id="unlock-input"
|
<input id="unlock-input"
|
||||||
|
maxlength="64"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
placeholder="${state.translate('unlockInputPlaceholder')}"
|
placeholder="${state.translate('unlockInputPlaceholder')}"
|
||||||
type="password"/>
|
type="password"/>
|
||||||
|
|
|
@ -11,6 +11,7 @@ module.exports = function(state, emit) {
|
||||||
</div>
|
</div>
|
||||||
<form class="setPassword hidden" onsubmit=${setPassword}>
|
<form class="setPassword hidden" onsubmit=${setPassword}>
|
||||||
<input id="unlock-input"
|
<input id="unlock-input"
|
||||||
|
maxlength="64"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
placeholder="${state.translate('unlockInputPlaceholder')}"/>
|
placeholder="${state.translate('unlockInputPlaceholder')}"/>
|
||||||
<input type="submit"
|
<input type="submit"
|
||||||
|
|
|
@ -646,6 +646,7 @@ tbody {
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
align-self: left;
|
align-self: left;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.setPassword {
|
.setPassword {
|
||||||
|
|
Loading…
Reference in New Issue