mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 12:28:48 +01:00
This commit is contained in:
parent
9a523dcb52
commit
35c6827630
2 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue