Fixed alternative fragments in Mermaid diagrams

This commit is contained in:
squidfunk 2023-01-02 10:31:38 +01:00
parent 23730a1f15
commit fc6a368d6b
4 changed files with 5 additions and 4 deletions

View File

@ -240,7 +240,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/bundle.6ca897f9.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.931116ca.min.js' | url }}"></script>
{% for path in config.extra_javascript %} {% for path in config.extra_javascript %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}

View File

@ -339,6 +339,7 @@ line {
/* Sequence message, loop and note text */ /* Sequence message, loop and note text */
.messageText, .messageText,
.loopText,
.loopText > tspan, .loopText > tspan,
.noteText > tspan { .noteText > tspan {
font-family: var(--md-mermaid-font-family) !important; font-family: var(--md-mermaid-font-family) !important;