mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
94812ef11c
commit
01fd487bc1
1 changed files with 3 additions and 0 deletions
|
|
@ -43,6 +43,9 @@ export class Wnd {
|
||||||
this.resize = resize;
|
this.resize = resize;
|
||||||
this.element = document.createElement("div");
|
this.element = document.createElement("div");
|
||||||
this.element.classList.add("fn__flex-1", "fn__flex");
|
this.element.classList.add("fn__flex-1", "fn__flex");
|
||||||
|
if (resize === "tb") {
|
||||||
|
this.element.style.minHeight = "64px"
|
||||||
|
}
|
||||||
let dragHTML = '<div class="layout-tab-container__drag fn__none"></div>';
|
let dragHTML = '<div class="layout-tab-container__drag fn__none"></div>';
|
||||||
if (parentType === "left" || parentType === "right" || parentType === "top" || parentType === "bottom") {
|
if (parentType === "left" || parentType === "right" || parentType === "top" || parentType === "bottom") {
|
||||||
dragHTML = "";
|
dragHTML = "";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue