💄 bookmark panel
This commit is contained in:
parent
ded9e7d5b1
commit
dd51b98101
2 changed files with 9 additions and 1 deletions
|
@ -117,6 +117,14 @@
|
|||
flex-shrink: 0;
|
||||
height: 14px;
|
||||
width: 12px;
|
||||
line-height: 14px;
|
||||
font-size: 12px;
|
||||
|
||||
// doc icon in the bookmark panel
|
||||
svg {
|
||||
width: 12px;
|
||||
height: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
&__arrow {
|
||||
|
|
|
@ -104,7 +104,7 @@ ${item.label ? "data-label='" + item.label + "'" : ""}>
|
|||
}
|
||||
let iconHTML;
|
||||
if (item.type === "NodeDocument") {
|
||||
iconHTML = `<span data-defids='["${item.defID}"]' class="b3-list-item__icon popover__block" data-id="${item.id}">${unicode2Emoji(item.ial.icon || Constants.SIYUAN_IMAGE_FILE)}</span>`
|
||||
iconHTML = `<span data-defids='["${item.defID}"]' class="b3-list-item__graphic popover__block" data-id="${item.id}">${unicode2Emoji(item.ial.icon || Constants.SIYUAN_IMAGE_FILE)}</span>`
|
||||
} else {
|
||||
iconHTML = `<svg data-defids='["${item.defID}"]' class="b3-list-item__graphic popover__block" data-id="${item.id}"><use xlink:href="#${getIconByType(item.type, item.subType)}"></use></svg>`
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue