This commit is contained in:
Vanessa 2022-06-12 21:18:43 +08:00
parent 647bd7d346
commit 7b991f1973
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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") &&