We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6b9662 commit 2774671Copy full SHA for 2774671
web_src/js/components/ActivityHeatmap.vue
@@ -32,6 +32,7 @@ export default {
32
},
33
data: () => ({
34
colorRange: [
35
+ 'var(--color-secondary-alpha-70)',
36
'var(--color-secondary-alpha-70)',
37
'var(--color-primary-light-4)',
38
'var(--color-primary-light-2)',
@@ -50,6 +51,12 @@ export default {
50
51
return s;
52
}
53
54
+ mounted() {
55
+ // work around issue with first legend color being rendered twice and legend cut off
56
+ const legend = document.querySelector('.vch__external-legend-wrapper');
57
+ legend.setAttribute('viewBox', '12 0 80 10');
58
+ legend.style.marginRight = '-12px';
59
+ },
60
methods: {
61
handleDayClick(e) {
62
// Reset filter if same date is clicked
0 commit comments