Skip to content

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

:lipstick: fix https://github.com/siyuan-note/siyuan/issues/5167

Vanessa7b991f1973cd
diff --git a/app/src/assets/scss/_content.scss b/app/src/assets/scss/_content.scss
index 21807779b6..e1464e3ba0 100644
--- a/app/src/assets/scss/_content.scss
+++ b/app/src/assets/scss/_content.scss
@@ -4,7 +4,7 @@
background-color: var(--b3-theme-background);
position: relative;
max-height: 100%;
- min-height: 88px;
+ min-height: 104px;
display: flex;
flex-direction: column;
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts
index 8ba3816d1a..680771803a 100644
--- a/app/src/protyle/util/onGet.ts
+++ b/app/src/protyle/util/onGet.ts
@@ -176,7 +176,7 @@ const setHTML = (options: { content: string, action?: string[] }, protyle: IProt
}
// https://ld246.com/article/1653639418266
if (protyle.element.classList.contains("block__edit") && (protyle.element.nextElementSibling || protyle.element.previousElementSibling)) {
- protyle.element.style.minHeight = Math.min(30 + protyle.wysiwyg.element.clientHeight - 16, window.innerHeight / 3) + "px";
+ protyle.element.style.minHeight = Math.min(30 + protyle.wysiwyg.element.clientHeight, window.innerHeight / 3) + "px";
}
// https://github.com/siyuan-note/siyuan/issues/5018
if (!protyle.scroll.element.classList.contains("fn__none") &&