From a4dc39f70e6d9f7706f4c30c32d26c77b509ba0f Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Wed, 21 Apr 2021 23:18:51 +0800 Subject: [PATCH] Center the mermaid SVG --- _sass/addon/commons.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index ea64903..1a168ba 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -574,14 +574,20 @@ footer { transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; } -/* --- override magnific-popup --- */ +/* --- Overriding --- */ +// magnific-popup figure .mfp-title { text-align: center; padding-right: 0; margin-top: 0.5rem; } +// mermaid +.mermaid { + text-align: center; +} + /* --- sidebar layout --- */ $tab-count: 5 !default;