mirror of https://github.com/keeweb/keeweb.git
fix generator
This commit is contained in:
parent
ba56444a6e
commit
c5f2bd4aa3
|
@ -84,9 +84,10 @@ const FieldViewText = FieldView.extend({
|
|||
this.hideGenerator();
|
||||
} else {
|
||||
const fieldRect = this.input[0].getBoundingClientRect();
|
||||
const shadowSpread = parseInt(this.input.css('--focus-shadow-spread'));
|
||||
this.gen = new GeneratorView({
|
||||
model: {
|
||||
pos: { left: fieldRect.left, top: fieldRect.bottom },
|
||||
pos: { left: fieldRect.left, top: fieldRect.bottom + shadowSpread },
|
||||
password: this.value
|
||||
}
|
||||
}).render();
|
||||
|
|
Loading…
Reference in New Issue