mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 08:00:13 +01:00
🎨
This commit is contained in:
parent
1b45bc002e
commit
93f623597f
1 changed files with 36 additions and 38 deletions
|
|
@ -214,7 +214,6 @@ ${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
|
|||
<span class="item__text">${item.name}</span>
|
||||
</div>`;
|
||||
});
|
||||
setTimeout(() => {
|
||||
e.firstElementChild.outerHTML = `<div class="av__container" style="--av-background:${e.style.backgroundColor || "var(--b3-theme-background)"}">
|
||||
<div class="av__header">
|
||||
<div class="fn__flex av__views">
|
||||
|
|
@ -317,7 +316,6 @@ ${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
|
|||
if (cb) {
|
||||
cb();
|
||||
}
|
||||
}, time ? 256 - (new Date().getTime() - time) : 0); // 为了让动画更好看,需延时到 256ms
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue