mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 03:48:48 +01:00
🎨 Improve database template empty date rendering https://github.com/siyuan-note/siyuan/issues/10830
This commit is contained in:
parent
cebeba34ca
commit
299437d751
2 changed files with 12 additions and 3 deletions
|
|
@ -235,8 +235,8 @@ export class Outline extends Model {
|
|||
const documentSelf = document;
|
||||
item.style.opacity = "0.38";
|
||||
const ghostElement = item.cloneNode(true) as HTMLElement;
|
||||
document.body.append(ghostElement);
|
||||
ghostElement.dataset.id = "dragGhost"
|
||||
this.element.append(ghostElement);
|
||||
ghostElement.setAttribute("id", "dragGhost");
|
||||
ghostElement.firstElementChild.setAttribute("style", "padding-left:4px");
|
||||
ghostElement.setAttribute("style", `border-radius: var(--b3-border-radius);background-color: var(--b3-list-hover);position: fixed; top: ${event.clientY}px; left: ${event.clientX}px; z-index:999997;`);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue