We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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!
The text was updated successfully, but these errors were encountered:
This because all elements are SVG, (even the text), this means that margin-* won't affect it... You second method is the way to go :]
margin-*
Sorry, something went wrong.
No branches or pull requests
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!
The text was updated successfully, but these errors were encountered: