mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-11 17:54:20 +01:00
This commit is contained in:
parent
0322e022f1
commit
ad574a3cde
2 changed files with 18 additions and 17 deletions
|
|
@ -30,10 +30,11 @@ export const setTabPosition = () => {
|
|||
cmd: "isFullScreen",
|
||||
});
|
||||
if (rect.top <= 0 && rect.left <= 0 && !isFullScreen) {
|
||||
item.headersElement.style.marginLeft = "var(--b3-toolbar-left-mac)";
|
||||
// 用 marginLeft 左侧底部无线条
|
||||
item.headersElement.style.paddingLeft = "var(--b3-toolbar-left-mac)";
|
||||
headersLastElement.style.paddingRight = "42px";
|
||||
} else {
|
||||
item.headersElement.style.marginLeft = "";
|
||||
item.headersElement.style.paddingLeft = "";
|
||||
headersLastElement.style.paddingRight = "";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue