This commit is contained in:
parent
d5dd47a63a
commit
21a21132ff
3 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue