Skip to content

Commit 2e56d39

Browse files
committed
♻️ #15193
1 parent 969246b commit 2e56d39

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/util/assets.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,7 @@ export const setInlineStyle = async (set = true, servePath = "../../../") => {
277277
}`;
278278
}
279279
style += `\n:root { --b3-font-size-editor: ${window.siyuan.config.editor.fontSize}px }
280-
.b3-typography code:not(.hljs), .protyle-wysiwyg span[data-type~=code] { font-variant-ligatures: ${window.siyuan.config.editor.codeLigatures ? "normal" : "none"} }
281-
${window.siyuan.config.editor.justify ? ".protyle-wysiwyg [data-node-id] { text-align: justify }" : ""}`;
280+
.b3-typography code:not(.hljs), .protyle-wysiwyg span[data-type~=code] { font-variant-ligatures: ${window.siyuan.config.editor.codeLigatures ? "normal" : "none"} }${window.siyuan.config.editor.justify ? "\n.protyle-wysiwyg [data-node-id] { text-align: justify }" : ""}`;
282281
if (window.siyuan.config.editor.rtl) {
283282
style += `\n.protyle-title__input,
284283
.protyle-wysiwyg .p,

0 commit comments

Comments
 (0)