summaryrefslogtreecommitdiffstats
path: root/site/projects/keyr
diff options
context:
space:
mode:
authorThomas Letan <lthms@soap.coffee>2021-03-28 23:28:09 +0200
committerThomas Letan <lthms@soap.coffee>2021-03-28 23:28:09 +0200
commitb0a01437e1ac82597b1696c26bc19215b0543a6d (patch)
tree968f77efdff658091925087e26bafb322190d58e /site/projects/keyr
parentUse the built-in plugin to insert the “Table of Contents” title (diff)
Adapt the keyr stats to the redesign
Diffstat (limited to 'site/projects/keyr')
-rw-r--r--site/projects/keyr/stats.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/site/projects/keyr/stats.html b/site/projects/keyr/stats.html
index 8559108..eabec58 100644
--- a/site/projects/keyr/stats.html
+++ b/site/projects/keyr/stats.html
@@ -13,11 +13,11 @@
<h2>during the past 10 days</h2>
-<div id="heatmap-weeks"></div>
+<div id="heatmap-weeks" class="fullwidth"></div>
<h2>during the past 6 months</h2>
-<div id="heatmap-year"></div>
+<div id="heatmap-year" class="fullwidth"></div>
<script src="https://soap.coffee/+vendors/d3.js/d3.v3.min.js"></script>
<script src="https://soap.coffee/+vendors/cal-heatmap/cal-heatmap.3.3.10.min.js"></script>
@@ -31,7 +31,7 @@
<script type="text/javascript">
// First, we load the necessary CSS
- document.getElementById('asyncloading')
+ document.getElementsByTagName('style')[0]
.insertAdjacentHTML(
'beforebegin',
'<link rel="stylesheet" href="https://soap.coffee/+vendors/cal-heatmap/cal-heatmap.3.3.10.css" />'