Skip to content

Commit

Permalink
Added underline to nodes with links in Mermaid diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed May 3, 2024
1 parent d1161b4 commit 05661a1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion material/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
</script>
{% endblock %}
{% 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 %}
{{ script | script_tag }}
{% endfor %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@ g.stateGroup .composit {
font-family: var(--md-mermaid-font-family);
}

/* State node label link */
a .nodeLabel {
text-decoration: underline;
}

/* State start and end marker */
.start-state,
.node circle.state-start,
Expand Down

0 comments on commit 05661a1

Please sign in to comment.