Added underline to nodes with links in Mermaid diagrams

This commit is contained in:
squidfunk 2024-05-03 19:29:30 +02:00
parent d1161b431f
commit 05661a1562
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
4 changed files with 10 additions and 5 deletions

View File

@ -249,7 +249,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/bundle.a7c05c9e.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.e2f4ecc1.min.js' | url }}"></script>
{% for script in config.extra_javascript %} {% for script in config.extra_javascript %}
{{ script | script_tag }} {{ script | script_tag }}
{% endfor %} {% endfor %}

View File

@ -206,6 +206,11 @@ g.stateGroup .composit {
font-family: var(--md-mermaid-font-family); font-family: var(--md-mermaid-font-family);
} }
/* State node label link */
a .nodeLabel {
text-decoration: underline;
}
/* State start and end marker */ /* State start and end marker */
.start-state, .start-state,
.node circle.state-start, .node circle.state-start,