mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
cca8f0c3e4
commit
18bdf3dbb0
1 changed files with 2 additions and 1 deletions
|
|
@ -681,7 +681,8 @@ export class Wnd {
|
||||||
}
|
}
|
||||||
previous.resize = undefined;
|
previous.resize = undefined;
|
||||||
previous.element.classList.add("fn__flex-1");
|
previous.element.classList.add("fn__flex-1");
|
||||||
} else {
|
} else if (!previous.element.classList.contains("fn__flex-1")) {
|
||||||
|
// 分屏后要均分 https://github.com/siyuan-note/siyuan/issues/5657
|
||||||
if (layout.direction === "lr") {
|
if (layout.direction === "lr") {
|
||||||
previous.element.style.width = (previous.element.clientWidth + element.clientWidth) + "px";
|
previous.element.style.width = (previous.element.clientWidth + element.clientWidth) + "px";
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue