Skip to content

Commit 63c18ce

Browse files
committed
fix rendering of Mermaid SVGs on reveal-js pages
1 parent 632981a commit 63c18ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

obsidian.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ export async function wrapInReveal(reveal, req) {
14711471
}
14721472
14731473
pre.mermaid {
1474-
width: fit-content;
1474+
width: 90%;
14751475
margin: 0 auto;
14761476
background-color: #c3c3c3;
14771477
padding: 1em;

0 commit comments

Comments
 (0)