Skip to content

Commit ed749d1

Browse files
celestehorganTim Bannister
authored andcommitted
Add overflow CSS for mermaid.js diagrams
1 parent d8573d9 commit ed749d1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

assets/scss/_custom.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ body.td-404 main .error-details {
6161
margin-bottom: 0;
6262
}
6363

64+
/* Global - Mermaid.js diagrams */
65+
66+
.mermaid {
67+
overflow: scroll;
68+
max-width: 80%;
69+
border: 1px solid rgb(222, 226, 230);
70+
border-radius: 5px;
71+
}
72+
6473
/* HEADER */
6574

6675
.td-navbar {
@@ -542,3 +551,5 @@ body.td-documentation {
542551
}
543552
}
544553
}
554+
555+

0 commit comments

Comments
 (0)