mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 12:28:48 +01:00
This commit is contained in:
parent
2d056409c4
commit
f154d905bb
2 changed files with 1 additions and 4 deletions
|
|
@ -2,7 +2,6 @@
|
|||
padding: 34px 16px 16px 24px;
|
||||
cursor: text;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
|
||||
box-sizing: border-box;
|
||||
|
|
@ -17,7 +16,6 @@
|
|||
|
||||
[data-node-id] {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
&[custom-riff-decks] {
|
||||
box-shadow: -3px 0px 0px -1px var(--b3-protyle-inline-mark-background) inset;
|
||||
|
|
|
|||
|
|
@ -247,8 +247,7 @@ const setHTML = (options: {
|
|||
protyle.element.style.minHeight = Math.min(30 + protyle.wysiwyg.element.clientHeight, window.innerHeight / 3) + "px";
|
||||
}
|
||||
// 49 = 16(上图标)+16(下图标)+8(padding)+9(底部距离)
|
||||
// @ts-ignore
|
||||
protyle.scroll.element.parentElement.setAttribute("style", `--b3-dynamicscroll-width:${protyle.contentElement.clientHeight - 49}px;${isMobile() ? "" : "right:10px"}`);
|
||||
protyle.scroll.element.parentElement.setAttribute("style", `--b3-dynamicscroll-width:${Math.min(protyle.contentElement.clientHeight - 49, 200)}px;${isMobile() ? "" : "right:10px"}`);
|
||||
}
|
||||
// 屏幕太高的页签 https://github.com/siyuan-note/siyuan/issues/5018
|
||||
if (!protyle.scroll.element.classList.contains("fn__none") &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue