mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 17:40:13 +01:00
This commit is contained in:
parent
f2c593b807
commit
d97dd394fe
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ export const setPadding = (protyle: IProtyle) => {
|
||||||
protyle.wysiwyg.element.style.padding = `16px ${left}px ${bottomHeight} ${right}px`;
|
protyle.wysiwyg.element.style.padding = `16px ${left}px ${bottomHeight} ${right}px`;
|
||||||
}
|
}
|
||||||
if (protyle.options.render.background) {
|
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) {
|
if (protyle.options.render.title) {
|
||||||
protyle.title.element.style.margin = `5px ${left}px 0 ${right}px`;
|
protyle.title.element.style.margin = `5px ${left}px 0 ${right}px`;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue