From d97dd394fed067d680c233e0b842353e0b8c29d2 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 28 Apr 2024 21:55:51 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/10926 --- app/src/protyle/ui/initUI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/ui/initUI.ts b/app/src/protyle/ui/initUI.ts index 5509df0ae..91dfc907a 100644 --- a/app/src/protyle/ui/initUI.ts +++ b/app/src/protyle/ui/initUI.ts @@ -143,7 +143,7 @@ export const setPadding = (protyle: IProtyle) => { protyle.wysiwyg.element.style.padding = `16px ${left}px ${bottomHeight} ${right}px`; } if (protyle.options.render.background) { - protyle.background.element.querySelector(".protyle-background__ia").setAttribute("style", `margin-left:${left}px`); + protyle.background.element.querySelector(".protyle-background__ia").setAttribute("style", `margin-left:${left}px;margin-right:${left}px`); } if (protyle.options.render.title) { protyle.title.element.style.margin = `5px ${left}px 0 ${right}px`;