1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Desktop,Mobile: Fixes #10785: Fix math is invisible in certain mermaid diagrams (#10820)

This commit is contained in:
Henry Heino 2024-08-03 08:42:16 -07:00 committed by GitHub
parent 5c8be448ab
commit 19af6a8722
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ export default {
inline: true,
// Override the default pre styles. Using the default `white-space: pre`
// can cause math expressions to be too tall and break some diagrams.
text: 'pre.mermaid > svg { white-space: unset; }',
text: 'pre.mermaid[data-processed=true] { white-space: unset; }',
mime: 'text/css',
},
{