mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 08:30:42 +02:00
🎨 https://github.com/siyuan-note/siyuan/issues/5212 & reset zindex
This commit is contained in:
parent
c14fc344c6
commit
4226541e9e
9 changed files with 78 additions and 37 deletions
|
@ -42,7 +42,7 @@ export class Hint {
|
|||
this.element = document.createElement("div");
|
||||
this.element.setAttribute("data-close", "false");
|
||||
// height 402 根据 .emojis max-height+8 得来
|
||||
this.element.setAttribute("style", `overflow:auto;z-index:200;max-height:402px;width:${Math.max(protyle.element.clientWidth / 2, 320)}px;box-sizing: border-box;`);
|
||||
this.element.setAttribute("style", `overflow:auto;max-height:402px;width:${Math.max(protyle.element.clientWidth / 2, 320)}px;box-sizing: border-box;`);
|
||||
this.element.className = "b3-menu b3-list b3-list--background fn__none";
|
||||
this.element.addEventListener("click", (event) => {
|
||||
const eventTarget = event.target as HTMLElement;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue