mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
This commit is contained in:
parent
840ab33fb1
commit
bab9f7491f
2 changed files with 5 additions and 2 deletions
|
|
@ -99,7 +99,8 @@ export const setPadding = (protyle: IProtyle) => {
|
|||
}
|
||||
if (!isMobile()) {
|
||||
// 防止右侧分屏后,左侧页签抖动;10 为滚动条宽度
|
||||
if (!window.siyuan.config.editor.fullWidth) {
|
||||
if (!protyle.options.backlinkData && // https://github.com/siyuan-note/siyuan/issues/6099
|
||||
!window.siyuan.config.editor.fullWidth) {
|
||||
protyle.wysiwyg.element.style.width = (protyle.element.clientWidth - 10) + "px";
|
||||
if (protyle.options.render.title) {
|
||||
protyle.title.element.style.width = (protyle.element.clientWidth - min16 - min24 - 10) + "px";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue