This commit is contained in:
Vanessa 2022-10-18 23:45:15 +08:00
parent 1e671307d8
commit 2e160b93fd

View file

@ -445,6 +445,13 @@ export const resizeTabs = () => {
}
}
});
// https://github.com/siyuan-note/siyuan/issues/6250
models.backlink.forEach(item => {
const mTreeElement = item.element.querySelector(".backlinkMList") as HTMLElement;
if (mTreeElement.style.height) {
mTreeElement.style.height = (item.element.clientHeight - mTreeElement.previousElementSibling.clientHeight * 2) +"px"
}
})
pdfResize();
}, 200);
};