mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-05 18:47:52 +01:00
fixes for changing generator length
This commit is contained in:
parent
a25ceb49ce
commit
9539662166
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 0b0245b90fbb99fe677a94a2f97b8245cd255c1f
|
||||
Subproject commit d3a2dfe2e8ea27662aaf189e155d81681ced0d8e
|
@ -64,7 +64,7 @@
|
||||
<div class="box-content-row box-content-row-slider" appBoxRow>
|
||||
<label for="length">{{'length' | i18n}}</label>
|
||||
<input id="length" type="number" min="5" max="128" [(ngModel)]="options.length"
|
||||
(blur)="saveOptions()">
|
||||
(change)="lengthChanged()" (blur)="saveOptions()">
|
||||
<input id="lengthRange" type="range" min="5" max="128" step="1" [(ngModel)]="options.length"
|
||||
(change)="sliderChanged()" (input)="sliderInput()">
|
||||
</div>
|
||||
|
@ -37,6 +37,10 @@ export class PasswordGeneratorComponent extends BasePasswordGeneratorComponent {
|
||||
this.close();
|
||||
}
|
||||
|
||||
lengthChanged() {
|
||||
document.getElementById('length').focus();
|
||||
}
|
||||
|
||||
close() {
|
||||
this.location.back();
|
||||
}
|
||||
|
@ -11,8 +11,11 @@ app-sync {
|
||||
app-password-generator .password-block {
|
||||
font-size: $font-size-large;
|
||||
font-family: $font-family-monospace;
|
||||
text-align: center;
|
||||
margin: 20px;
|
||||
|
||||
.password-wrapper {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
app-home {
|
||||
|
Loading…
Reference in New Issue
Block a user