mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-05 04:10:16 +01:00
This commit is contained in:
parent
269b4072d5
commit
a26b7874cf
3 changed files with 43 additions and 22 deletions
|
|
@ -13,7 +13,7 @@ import {bindRollupData, getRollupHTML} from "./rollup";
|
|||
import {Constants} from "../../../constants";
|
||||
import * as dayjs from "dayjs";
|
||||
import {setPosition} from "../../../util/setPosition";
|
||||
import {duplicateNameAddOne} from "../../../util/functions";
|
||||
import {duplicateNameAddOne, isMobile} from "../../../util/functions";
|
||||
import {Dialog} from "../../../dialog";
|
||||
import {escapeAriaLabel, escapeAttr, escapeHtml} from "../../../util/escape";
|
||||
import {getFieldsByData} from "./view";
|
||||
|
|
@ -1093,7 +1093,7 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemen
|
|||
<div class="fn__hr"></div>
|
||||
<button class="fn__block b3-button b3-button--cancel">${window.siyuan.languages.cancel}</button>
|
||||
</div>`,
|
||||
width: "520px",
|
||||
width: isMobile() ? "92vw" : "520px",
|
||||
});
|
||||
dialog.element.addEventListener("click", (event) => {
|
||||
let target = event.target as HTMLElement;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue