Vanessa
2026-04-21 10:43:59 +08:00
parent 71610f0109
commit 0312bb7090

View File

@@ -90,8 +90,8 @@ left:${left || "auto"};top:${top || "auto"}">
public resize() {
if (this.resizeCallback) {
const containerElement = this.element.querySelector(".b3-dialog__container") as HTMLElement;
if (containerElement && (!containerElement.style.height.endsWith("px") || containerElement.style.width.endsWith("px"))) {
this.resizeCallback("rd");
if (containerElement && containerElement.style.maxWidth !== "none") {
this.resizeCallback("l");
}
}
}