From d0b8b60463e9f60b62cfc8e3a8e951ae318fb35b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Tue, 9 Nov 2021 19:51:52 +0100 Subject: [PATCH] mermaid: remove whitespace from big graphs #143 --- static/css/theme.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/css/theme.css b/static/css/theme.css index 6cb5cf60c0..cf37788d14 100644 --- a/static/css/theme.css +++ b/static/css/theme.css @@ -1074,6 +1074,11 @@ option { margin-top: 1.7rem; } +.mermaid svg { + /* remove inline height from generated diagram */ + height: initial !important; +} + .include.hide-first-heading h1:first-of-type, .include.hide-first-heading h2:first-of-type, .include.hide-first-heading h3:first-of-type,