mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
wip
This commit is contained in:
parent
69d529ada1
commit
2e24111c2b
@ -156,7 +156,7 @@ export default class AttributeDetailWidget extends BasicWidget {
|
|||||||
this.$relatedNotesMoreNotes.hide();
|
this.$relatedNotesMoreNotes.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.$attrEditName.val(attr.name).focus();
|
this.$attrEditName.val(attr.name);
|
||||||
this.$attrEditValue.val(attr.value);
|
this.$attrEditValue.val(attr.value);
|
||||||
|
|
||||||
this.$widget.css("left", x - this.$widget.width() / 2);
|
this.$widget.css("left", x - this.$widget.width() / 2);
|
||||||
|
@ -147,6 +147,7 @@ const TPL = `
|
|||||||
}
|
}
|
||||||
|
|
||||||
.add-new-attribute-button {
|
.add-new-attribute-button {
|
||||||
|
color: var(--muted-text-color);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 5px;
|
bottom: 5px;
|
||||||
right: 5px;
|
right: 5px;
|
||||||
@ -437,6 +438,8 @@ export default class NoteAttributesWidget extends TabAwareWidget {
|
|||||||
|
|
||||||
this.$inheritedExpanderText.text(inheritedAttributes.length + ' inherited ' + this.attrPlural(inheritedAttributes.length));
|
this.$inheritedExpanderText.text(inheritedAttributes.length + ' inherited ' + this.attrPlural(inheritedAttributes.length));
|
||||||
|
|
||||||
|
this.$inheritedAttributes.empty();
|
||||||
|
|
||||||
await this.renderAttributes(inheritedAttributes, this.$inheritedAttributes);
|
await this.renderAttributes(inheritedAttributes, this.$inheritedAttributes);
|
||||||
|
|
||||||
this.parseAttributes();
|
this.parseAttributes();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user