mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
This commit is contained in:
parent
1ef416ff00
commit
71a0de7b47
2 changed files with 3 additions and 3 deletions
|
|
@ -121,7 +121,7 @@
|
|||
height: 100vh;
|
||||
width: 80vw;
|
||||
z-index: 220;
|
||||
transition: var(--b3-transition);
|
||||
transition: top .15s cubic-bezier(0, 0, .2, 1) 0ms, left .15s cubic-bezier(0, 0, .2, 1) 0ms, right .15s cubic-bezier(0, 0, .2, 1) 0ms;
|
||||
|
||||
&--left {
|
||||
left: -100vw;
|
||||
|
|
@ -131,7 +131,7 @@
|
|||
&--all {
|
||||
width: 100vw;
|
||||
right: 0;
|
||||
top: -100vh;
|
||||
top: -150vh;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@ export const closePanel = () => {
|
|||
const modelElement = document.getElementById("model");
|
||||
menuElement.style.right = "-100vw";
|
||||
sidebarElement.style.left = "-100vw";
|
||||
modelElement.style.top = "-100vh";
|
||||
modelElement.style.top = "-150vh";
|
||||
scrimElement.classList.add("fn__none");
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue