mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -43,9 +43,6 @@ export class Wnd {
|
||||
this.resize = resize;
|
||||
this.element = document.createElement("div");
|
||||
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>';
|
||||
if (parentType === "left" || parentType === "right" || parentType === "top" || parentType === "bottom") {
|
||||
dragHTML = "";
|
||||
|
||||
@@ -94,6 +94,10 @@ export class Layout {
|
||||
}
|
||||
addResize(child);
|
||||
resizeTabs();
|
||||
// https://ld246.com/article/1669858316295
|
||||
if (this.direction === "tb") {
|
||||
child.element.style.minHeight = "64px"
|
||||
}
|
||||
child.parent = this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user