This commit is contained in:
Vanessa 2022-10-08 20:59:47 +08:00
parent 840ab33fb1
commit bab9f7491f
2 changed files with 5 additions and 2 deletions

View file

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