Skip to content

Commit

Permalink
Center the mermaid SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Apr 24, 2021
1 parent 407028f commit 7ab25aa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion _sass/addon/commons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7ab25aa

Please sign in to comment.