mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
💄
This commit is contained in:
parent
395d5e6583
commit
f6a39744a9
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ export const kernelError = () => {
|
|||
if (logElement) {
|
||||
logElement.innerHTML = html;
|
||||
} 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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue