mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-17 12:38:07 +01:00
This commit is contained in:
parent
d697660c41
commit
d1835146ca
25 changed files with 59 additions and 60 deletions
|
|
@ -54,7 +54,7 @@ export const rename = (options: {
|
|||
<button class="b3-button b3-button--cancel">${window.siyuan.languages.cancel}</button><div class="fn__space"></div>
|
||||
<button class="b3-button b3-button--text">${window.siyuan.languages.confirm}</button>
|
||||
</div>`,
|
||||
width: isMobile() ? "80vw" : "520px",
|
||||
width: isMobile() ? "92vw" : "520px",
|
||||
destroyCallback() {
|
||||
if (options.range) {
|
||||
focusByRange(options.range);
|
||||
|
|
@ -111,7 +111,7 @@ export const renameAsset = (assetPath: string) => {
|
|||
<button class="b3-button b3-button--cancel">${window.siyuan.languages.cancel}</button><div class="fn__space"></div>
|
||||
<button class="b3-button b3-button--text">${window.siyuan.languages.confirm}</button>
|
||||
</div>`,
|
||||
width: isMobile() ? "80vw" : "520px",
|
||||
width: isMobile() ? "92vw" : "520px",
|
||||
});
|
||||
const inputElement = dialog.element.querySelector("input") as HTMLInputElement;
|
||||
const btnsElement = dialog.element.querySelectorAll(".b3-button");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue