mirror of
https://github.com/zadam/trilium.git
synced 2025-02-22 22:13:07 +08:00
include icon into reference links
This commit is contained in:
parent
ce7937a3a3
commit
d905f7cc26
2 changed files with 8 additions and 0 deletions
|
@ -163,6 +163,8 @@ async function loadReferenceLinkTitle(noteId, $el) {
|
|||
}
|
||||
|
||||
$el.text(title);
|
||||
|
||||
$el.prepend($("<span>").addClass(note.getIcon()));
|
||||
}
|
||||
|
||||
$(document).on('click', "a", goToLink);
|
||||
|
|
|
@ -961,3 +961,9 @@ button.close:hover {
|
|||
.hidden-no-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.reference-link .bx {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue