mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
This commit is contained in:
parent
d88959c5c8
commit
8c0c1185e7
1 changed files with 1 additions and 1 deletions
|
|
@ -460,7 +460,7 @@ export const resizeTabs = () => {
|
||||||
// https://github.com/siyuan-note/siyuan/issues/6250
|
// https://github.com/siyuan-note/siyuan/issues/6250
|
||||||
models.backlink.forEach(item => {
|
models.backlink.forEach(item => {
|
||||||
const mTreeElement = item.element.querySelector(".backlinkMList") as HTMLElement;
|
const mTreeElement = item.element.querySelector(".backlinkMList") as HTMLElement;
|
||||||
if (mTreeElement.style.height && mTreeElement.style.height !== "0px") {
|
if (mTreeElement.style.height && mTreeElement.style.height !== "0px" && item.element.clientHeight !== 0) {
|
||||||
mTreeElement.style.height = (item.element.clientHeight - mTreeElement.previousElementSibling.clientHeight * 2) + "px";
|
mTreeElement.style.height = (item.element.clientHeight - mTreeElement.previousElementSibling.clientHeight * 2) + "px";
|
||||||
}
|
}
|
||||||
item.editors.forEach(editorItem => {
|
item.editors.forEach(editorItem => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue