0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

Small hack fix to totals chart to keep responsiveness for new Dashboard

refs: https://github.com/TryGhost/Team/issues/1531

- we've had to use a 99% width hack to ensure ChartJS is responsive
- this introduces a small negative margin to fix the container whilst keeping hack
This commit is contained in:
James Morris 2022-05-05 11:11:55 +01:00
parent 93632349b9
commit 1fc436f3e2

View file

@ -1698,3 +1698,7 @@ Dashboard v5 Tooltips */
.gh-dashboard5-totals .gh-dashboard5-chart-container {
height: 200px;
}
.gh-dashboard5-totals .gh-dashboard5-chart-container {
margin-right: -10px; /* fix 99% width ChartJS hack */
}