mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
This commit is contained in:
parent
0ee6f499fe
commit
61f1ab24e5
2 changed files with 6 additions and 1 deletions
|
|
@ -316,6 +316,11 @@
|
|||
text-decoration: underline var(--b3-border-color);
|
||||
}
|
||||
|
||||
&--ref {
|
||||
text-decoration: underline var(--b3-border-color);
|
||||
color: var(--b3-theme-on-surface);
|
||||
}
|
||||
|
||||
& > .av__cellicon {
|
||||
margin: 0 5px;
|
||||
height: 10px;
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ style="width: ${column.width || "200px"}">${getCalcValue(column) || '<svg><use x
|
|||
}
|
||||
text = `<span class="av__celltext av__celltext--url" data-type="${cell.valueType}"${urlAttr}>${urlContent}</span>`;
|
||||
} else if (cell.valueType === "block") {
|
||||
text = `<span class="av__celltext">${cell.value.block.content || ""}</span>`;
|
||||
text = `<span class="av__celltext${cell.value?.isDetached ? "" : " av__celltext--ref"}">${cell.value.block.content || ""}</span>`;
|
||||
if (cell.value?.isDetached) {
|
||||
text += `<span class="b3-chip b3-chip--info b3-chip--small" data-type="block-more" >${window.siyuan.languages.more}</span>`;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue