Skip to content

Build your personal knowledge base with Trilium Notes

fix(mermaid): background color of the preview

Elian Dorane29e711861d9
diff --git a/apps/client/src/widgets/type_widgets/abstract_split_type_widget.ts b/apps/client/src/widgets/type_widgets/abstract_split_type_widget.ts
index cead9d2548..70081283a3 100644
--- a/apps/client/src/widgets/type_widgets/abstract_split_type_widget.ts
+++ b/apps/client/src/widgets/type_widgets/abstract_split_type_widget.ts
@@ -34,6 +34,7 @@ const TPL = /*html*/`\
.note-detail-split-preview-col {
position: relative;
+ background: var(--main-background-color);
}
.note-detail-split .note-detail-split-editor {