From 02e81d458461033dd227c4bcf4f7043e2103d92e Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Sun, 20 Sep 2026 23:09:49 +0200 Subject: [PATCH] style(gruvbox-dark): scale mermaid diagrams to fit --- gruvbox-dark.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gruvbox-dark.css b/gruvbox-dark.css index ba18a6e..b8d8683 100644 --- a/gruvbox-dark.css +++ b/gruvbox-dark.css @@ -411,3 +411,10 @@ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:has(> .color-E64DB3) { .ck-content table thead th.col-hover { background-color: rgba(254, 128, 25, 0.14) !important; } + +/* ============ MERMAID ============ */ +.mermaid-render svg { + width: 95%; + height: auto; + max-width: 100%; +}