Open shivam-880 opened 8 months ago
I was trying to add some space between weekday lables and the graph but it doesn't seem to take any effect!
.react-calendar-heatmap-weekday-labels { margin-right: 5px !important; padding-right: 5px !important; }
The only thing that seems to work is:
const weekdayLabels = document.getElementsByClassName('react-calendar-heatmap-weekday-labels'); console.log(weekdayLabels); for (var elem of weekdayLabels) { elem.setAttribute('transform', 'translate(7, 14)'); }
Please explain!
I was trying to add some space between weekday lables and the graph but it doesn't seem to take any effect!
The only thing that seems to work is:
Please explain!