This commit is contained in:
Vanessa 2022-10-19 18:01:29 +08:00
parent 4e27798f53
commit bbca5683ce
3 changed files with 4 additions and 6 deletions

View file

@ -616,7 +616,7 @@ export class Wnd {
this.switchTab(this.children[currentIndex].headElement, true);
}
}
item.headElement.setAttribute("style", "flex: 0;width: 0;overflow: hidden");
item.headElement.setAttribute("style", "max-width: 0px;");
setTimeout(() => {
item.headElement.remove();
}, Constants.TIMEOUT_TRANSITION);