mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
client,server: Enforce min value of max content width (closes #593)
This commit is contained in:
@@ -42,7 +42,7 @@ function index(req: Request, res: Response) {
|
||||
isDev: env.isDev(),
|
||||
isMainWindow: !req.query.extraWindow,
|
||||
isProtectedSessionAvailable: protectedSessionService.isProtectedSessionAvailable(),
|
||||
maxContentWidth: parseInt(options.maxContentWidth),
|
||||
maxContentWidth: Math.max(640, parseInt(options.maxContentWidth)),
|
||||
triliumVersion: packageJson.version,
|
||||
assetPath: assetPath,
|
||||
appPath: appPath
|
||||
|
||||
Reference in New Issue
Block a user