mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
This commit is contained in:
parent
d697660c41
commit
d1835146ca
25 changed files with 59 additions and 60 deletions
|
|
@ -133,7 +133,7 @@ export const transactionError = () => {
|
|||
<div class="fn__space"></div>
|
||||
<button class="b3-button">${window.siyuan.languages.rebuildIndex}</button>
|
||||
</div>`,
|
||||
width: isMobile() ? "80vw" : "520px",
|
||||
width: isMobile() ? "92vw" : "520px",
|
||||
});
|
||||
const btnsElement = dialog.element.querySelectorAll(".b3-button");
|
||||
btnsElement[0].addEventListener("click", () => {
|
||||
|
|
@ -224,7 +224,7 @@ export const bootSync = () => {
|
|||
fetchPost("/api/sync/getBootSync", {}, response => {
|
||||
if (response.code === 1) {
|
||||
const dialog = new Dialog({
|
||||
width: isMobile() ? "80vw" : "50vw",
|
||||
width: isMobile() ? "92vw" : "50vw",
|
||||
title: "🌩️ " + window.siyuan.languages.bootSyncFailed,
|
||||
content: `<div class="b3-dialog__content">${response.msg}</div>
|
||||
<div class="b3-dialog__action">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue