fixed history_chart left axis cutoff problem

pull/2480/head
slightlycyborg 5 years ago
parent dc5ae43332
commit 4c55004986
  1. 2
      apps/block_scout_web/assets/css/components/_dashboard-banner.scss
  2. 5
      apps/block_scout_web/assets/js/lib/history_chart.js

@ -69,7 +69,7 @@ $dashboard-banner-chart-axis-font-color: $dashboard-stats-item-value-color !defa
display: grid; display: grid;
grid-template-columns: repeat(var(--numChartData), 0.9fr); grid-template-columns: repeat(var(--numChartData), 0.9fr);
padding-bottom: 12px; padding-bottom: 12px;
padding-left:55px; padding-left:20px;
.dashboard-banner-chart-legend-item { .dashboard-banner-chart-legend-item {
padding-bottom: 3px; padding-bottom: 3px;

@ -12,6 +12,11 @@ const config = {
datasets: [] datasets: []
}, },
options: { options: {
layout: {
padding: {
right: 20
}
},
legend: { legend: {
display: false display: false
}, },

Loading…
Cancel
Save