An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:lipstick: fix https://github.com/siyuan-note/siyuan/issues/6564
Vanessad74f49a8eff8
diff --git a/app/src/protyle/ui/initUI.ts b/app/src/protyle/ui/initUI.tsindex e13c41aafb..ef53a271ac 100644--- a/app/src/protyle/ui/initUI.ts+++ b/app/src/protyle/ui/initUI.ts@@ -90,8 +90,12 @@ export const setPadding = (protyle: IProtyle) => {let min16 = 16;let min24 = 24;if (!isMobile()) {- const padding = (protyle.element.clientWidth - Constants.SIZE_EDITOR_WIDTH) / 2;+ let padding = (protyle.element.clientWidth - Constants.SIZE_EDITOR_WIDTH) / 2;if (!window.siyuan.config.editor.fullWidth && padding > 96) {+ if (padding > Constants.SIZE_EDITOR_WIDTH) {+ // 超宽屏调整 https://ld246.com/article/1668266637363+ padding = protyle.element.clientWidth / 3+ }min16 = padding;min24 = padding;} else if (protyle.element.clientWidth > Constants.SIZE_EDITOR_WIDTH) {