grim/hgkeeper-theme

Fix the graph so it can actually scroll
draft
2020-04-14, Gary Kramlich
b0e6b49ed37b
Parents 0d5049c51587
Children 2d6c58bf4603
Fix the graph so it can actually scroll
--- a/templates/hgkeeper/graph/list.tmpl Mon Apr 13 22:54:13 2020 -0500
+++ b/templates/hgkeeper/graph/list.tmpl Tue Apr 14 02:39:44 2020 -0500
@@ -1,6 +1,6 @@
{dict(graph=1)%header}
-<div class="position-relative">
+<div id="container" class="position-relative">
<canvas id="graph" class="position-absolute" style="z-index: 5;"></canvas>
<ul class="list-group" id="graphnodes">
{nodes%changesetheader}
@@ -29,7 +29,7 @@
var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
return m ? m[1] : null;
},
- '.card',
+ '#container',
'<div class="%class%" style="text-align: center;">%text%</div>',
'graph'
);