mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
🚨
This commit is contained in:
parent
fb9d45e7c2
commit
2d190bf708
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ export class Menu {
|
||||||
if (position === "bottom" ) {
|
if (position === "bottom" ) {
|
||||||
this.element.querySelectorAll(".b3-menu__submenu").forEach((item:HTMLElement) => {
|
this.element.querySelectorAll(".b3-menu__submenu").forEach((item:HTMLElement) => {
|
||||||
item.style.top = "calc(50vh + 48.5px)";
|
item.style.top = "calc(50vh + 48.5px)";
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
this.popup({x: 0, y: position === "bottom" ? window.innerHeight / 2 : 0});
|
this.popup({x: 0, y: position === "bottom" ? window.innerHeight / 2 : 0});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue