mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 12:21:56 +08:00
This commit is contained in:
parent
198a9cff52
commit
6d702330c0
@ -586,10 +586,16 @@ export class Background {
|
||||
});
|
||||
}
|
||||
});
|
||||
menu.element.querySelector(".b3-menu__items").setAttribute("style", "overflow: initial");
|
||||
const itemsElement = menu.element.querySelector(".b3-menu__items")
|
||||
itemsElement.setAttribute("style", "overflow: initial");
|
||||
/// #if MOBILE
|
||||
menu.fullscreen();
|
||||
itemsElement.firstElementChild.setAttribute("style", "padding: 0 8px;height: 100%;");
|
||||
/// #else
|
||||
const rect = target.getBoundingClientRect();
|
||||
menu.open({x: rect.left, y: rect.top + rect.height});
|
||||
menu.element.querySelector("input").focus();
|
||||
/// #endif
|
||||
}
|
||||
|
||||
private getTags(removeTag?: string) {
|
||||
|
Loading…
Reference in New Issue
Block a user