This commit is contained in:
Vanessa 2022-09-17 00:14:42 +08:00
parent 395d5e6583
commit f6a39744a9

View file

@ -69,7 +69,7 @@ export const kernelError = () => {
if (logElement) { if (logElement) {
logElement.innerHTML = html; logElement.innerHTML = html;
} else { } else {
document.body.insertAdjacentHTML("beforeend", `<div id="errorLog" class="b3-dialog b3-dialog--open">${html}</div>`); document.body.insertAdjacentHTML("beforeend", `<div id="errorLog" style="width: ${isMobile() ? "80vw" : "520px"}" class="b3-dialog b3-dialog--open">${html}</div>`);
logElement = document.getElementById("errorLog"); logElement = document.getElementById("errorLog");
} }