mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
fixes for changing generator length
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 0b0245b90f...d3a2dfe2e8
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user