mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-21 11:30:42 +08:00
This commit is contained in:
parent
d5dd47a63a
commit
21a21132ff
@ -45,8 +45,6 @@
|
||||
|
||||
#menu & .side-panel: 7
|
||||
|
||||
.layout--float: 999997
|
||||
|
||||
#windowControls: 999998
|
||||
|
||||
.b3-snackbar: 999999
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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") {
|
||||
|
Loading…
Reference in New Issue
Block a user