Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): fill the screen with a Mermaid embed in fullscreen

Elian Doran65ba706ba766
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 13aaaa89f8..0cfb3f29c9 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -1391,6 +1391,10 @@ body.mobile .modal-content-with-sidebar > .modal-main > .modal-header > .modal-t
overflow: auto;
}
+.include-note-content:fullscreen > .rendered-content > .source-embed {
+ height: 100%;
+}
+
.include-note-content.type-text:fullscreen > .rendered-content:not(.full-content-width) > * {
max-width: var(--preferred-max-content-width);
margin-inline: auto;