Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://github.com/siyuan-note/siyuan/issues/6734

Vanessa944271d1a46a
diff --git a/app/src/protyle/ui/initUI.ts b/app/src/protyle/ui/initUI.ts
index 193ef00b59..0cb5bfc523 100644
--- a/app/src/protyle/ui/initUI.ts
+++ b/app/src/protyle/ui/initUI.ts
@@ -94,7 +94,7 @@ export const setPadding = (protyle: IProtyle) => {
if (!window.siyuan.config.editor.fullWidth && padding > 96) {
if (padding > Constants.SIZE_EDITOR_WIDTH) {
// 超宽屏调整 https://ld246.com/article/1668266637363
- padding = protyle.element.clientWidth / 3;
+ padding = protyle.element.clientWidth * .382 / 1.382;
}
min16 = padding;
min24 = padding;