This commit is contained in:
Vanessa 2022-10-19 21:47:47 +08:00
parent f1bdb4dcfd
commit 82eafca96d
10 changed files with 14 additions and 14 deletions

View file

@ -451,9 +451,9 @@ export const resizeTabs = () => {
models.backlink.forEach(item => {
const mTreeElement = item.element.querySelector(".backlinkMList") as HTMLElement;
if (mTreeElement.style.height && mTreeElement.style.height !== "0px") {
mTreeElement.style.height = (item.element.clientHeight - mTreeElement.previousElementSibling.clientHeight * 2) + "px"
mTreeElement.style.height = (item.element.clientHeight - mTreeElement.previousElementSibling.clientHeight * 2) + "px";
}
})
});
pdfResize();
}, 200);
};