mirror of https://github.com/keeweb/keeweb
fix #1734: overlapping generator icon on password inputs
parent
f7d24c6379
commit
8c59838a6f
|
@ -45,6 +45,7 @@ class FieldView extends View {
|
|||
multiline: this.model.multiline,
|
||||
title: this.model.title,
|
||||
canEditTitle: this.model.newField,
|
||||
canGen: this.model.canGen,
|
||||
protect: this.value && this.value.isProtected,
|
||||
hasOptions: !Features.isMobile && renderedValue && this.hasOptions
|
||||
});
|
||||
|
|
|
@ -276,6 +276,9 @@
|
|||
.details__field--protected & {
|
||||
font-family: $monospace-font-family;
|
||||
}
|
||||
.details__field--can-gen & {
|
||||
padding-right: 2.4em;
|
||||
}
|
||||
transition: background-color $slow-transition-out, border-color $slow-transition-out;
|
||||
.details__field--edit[active-mobile-action] & {
|
||||
transition: background-color $slow-transition-in,
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
{{~#if editable}} details__field--editable{{/if~}}
|
||||
{{~#if multiline}} details__field--multiline{{/if~}}
|
||||
{{~#if canEditTitle}} details__field--can-edit-title{{/if~}}
|
||||
{{~#if canGen}} details__field--can-gen{{/if~}}
|
||||
{{~#if protect}} details__field--protect{{/if~}}
|
||||
{{~#if hasOptions}} details__field--options{{/if~}}
|
||||
">
|
||||
|
|
Loading…
Reference in New Issue