This commit is contained in:
Vanessa 2023-09-06 11:27:55 +08:00
parent d5dd47a63a
commit 21a21132ff
3 changed files with 1 additions and 3 deletions

View file

@ -45,8 +45,6 @@
#menu & .side-panel: 7
.layout--float: 999997
#windowControls: 999998
.b3-snackbar: 999999

View file

@ -23,7 +23,6 @@
&--float {
position: fixed;
z-index: 999997;
min-height: auto;
transition: transform .2s cubic-bezier(0, 0, .2, 1) 0ms, opacity .3s cubic-bezier(0, 0, .2, 1) 0ms;

View file

@ -252,6 +252,7 @@ export class Dock {
this.layout.element.style.opacity = "1";
}
this.layout.element.style.transform = "";
this.layout.element.style.zIndex = (++window.siyuan.zIndex).toString();
if (this.position === "Left") {
this.layout.element.style.left = `${this.element.clientWidth}px`;
} else if (this.position === "Right") {