mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
This commit is contained in:
parent
d8e74384a1
commit
885b1ffad3
8 changed files with 38 additions and 20 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import {isMobile} from "./util/functions";
|
||||
|
||||
declare const SIYUAN_VERSION: string;
|
||||
declare const NODE_ENV: string;
|
||||
|
||||
|
|
@ -36,7 +38,7 @@ export abstract class Constants {
|
|||
public static readonly SIYUAN_EXPORT_PREVENT: string = "siyuan-export-prevent";
|
||||
|
||||
// size
|
||||
public static readonly SIZE_TOOLBAR_HEIGHT: number = 32;
|
||||
public static readonly SIZE_TOOLBAR_HEIGHT: number = isMobile() ? 0 : 32;
|
||||
public static readonly SIZE_GET_MAX = 102400;
|
||||
public static readonly SIZE_UNDO = 64;
|
||||
public static readonly SIZE_TITLE = 512;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue