mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-22 23:14:07 +01:00
This commit is contained in:
parent
8a2a724341
commit
5cb7e68e0a
4 changed files with 71 additions and 30 deletions
|
|
@ -2,4 +2,7 @@ export const closePanel = () => {
|
|||
document.getElementById("menu").style.right = "-100vw";
|
||||
document.getElementById("sidebar").style.left = "-100vw";
|
||||
document.getElementById("model").style.top = "-200vh";
|
||||
const maskElement = document.querySelector(".side-mask") as HTMLElement;
|
||||
maskElement.classList.add("fn__none");
|
||||
maskElement.style.opacity = "";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue