Skip to content

Commit 75ba541

Browse files
[flamegraph] Fix tooltip not appearing
1 parent 8462b81 commit 75ba541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

res/flamegraph-rendering/template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
#hl span {padding: 0 3px 0 3px}
1010
#tooltip {position: absolute; display: none; overflow: hidden; white-space: normal;
1111
pointer-events: none; background: #DCE3E5; box-shadow:#00000019 0px 2px 6px;
12-
max-width: 250px; animation: .2s fadeIn; animation-fill-mode: forwards;
12+
max-width: 250px; animation: .2s popAfterDelay; animation-fill-mode: forwards;
1313
visibility: hidden; font-size: 11px; border-radius:4px;}
1414
#tooltip span {overflow-wrap: anywhere; color: #4C4E4F; display: inline-block; margin: 4px 6px;}
1515
#tooltip span.sep {margin: 4px 0; color:#fff;}
1616
#tooltip .framediv {padding:0 0; border-bottom: 1px solid #fff;}
1717
#tooltip .statdiv {display:flex; justify-content:space-around;}
1818
#tooltipRightClickHint {font-size:9px; width:100%; display:flex; justify-content:center;}
19-
@keyframes fadeIn { 99% { visibility:hidden; } 100% { visibility:visible; }}
19+
@keyframes popAfterDelay { 99% { visibility:hidden; } 100% { visibility:visible; }}
2020
#statusBox {background-color:#ffffe6; position:fixed; left:0; bottom:0; width:100%;
2121
box-sizing: border-box; padding:5px 1em; display:inline-flex;
2222
justify-content:space-between;}

0 commit comments

Comments
 (0)