Skip to content

Commit a4dc39f

Browse files
committed
Center the mermaid SVG
1 parent 84bb4d0 commit a4dc39f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

_sass/addon/commons.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,14 +574,20 @@ footer {
574574
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
575575
}
576576

577-
/* --- override magnific-popup --- */
577+
/* --- Overriding --- */
578578

579+
// magnific-popup
579580
figure .mfp-title {
580581
text-align: center;
581582
padding-right: 0;
582583
margin-top: 0.5rem;
583584
}
584585

586+
// mermaid
587+
.mermaid {
588+
text-align: center;
589+
}
590+
585591
/* --- sidebar layout --- */
586592

587593
$tab-count: 5 !default;

0 commit comments

Comments
 (0)