Skip to content

Commit 0ed4fe1

Browse files
authored
Merge pull request #169 from leonstafford/update-mermaid
fix clickable nodes style in mermaid
2 parents 5ea22ce + 2bc33bc commit 0ed4fe1

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

static/mermaid/mermaid.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ text.actor {
258258
font-family: 'trebuchet ms', verdana, arial;
259259
font-size: 14px;
260260
}
261+
.node.clickable {
262+
cursor: pointer;
263+
}
261264
div.mermaidTooltip {
262265
position: absolute;
263266
text-align: center;
@@ -271,3 +274,4 @@ div.mermaidTooltip {
271274
pointer-events: none;
272275
z-index: 100;
273276
}
277+

static/mermaid/mermaid.dark.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ text.actor {
260260
font-family: 'trebuchet ms', verdana, arial;
261261
font-size: 14px;
262262
}
263+
.node.clickable {
264+
cursor: pointer;
265+
}
263266
div.mermaidTooltip {
264267
position: absolute;
265268
text-align: center;

static/mermaid/mermaid.forest.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ svg .classLabel .label {
338338
font-family: 'trebuchet ms', verdana, arial;
339339
font-size: 14px;
340340
}
341+
.node.clickable {
342+
cursor: pointer;
343+
}
341344
div.mermaidTooltip {
342345
position: absolute;
343346
text-align: center;

0 commit comments

Comments
 (0)