Fixed Paid mix padding

This commit is contained in:
Peter Zimon 2022-05-12 13:33:05 +02:00
parent 8a3a5dd217
commit 527b07b490
2 changed files with 9 additions and 6 deletions

View File

@ -192,11 +192,6 @@ Chart.elements.Rectangle.prototype.draw = function () {
ctx.fill();
};
// Chart.defaults.roundedBar = Chart.defaults.bar;
// Chart.controllers.roundedBar = Chart.controllers.bar.extend({
// dataElementType: Chart.elements.RoundedRectangle
// });
export default class PaidMix extends Component {
@service dashboardStats;

View File

@ -526,11 +526,15 @@ Dashboard v5 Chart */
.gh-dashboard5-mix .gh-dashboard5-data {
position: absolute;
top: 4px;
top: 0;
bottom: 0;
left: 24px;
}
.gh-dashboard5-mix .gh-dashboard5-metric {
margin-top: 4px;
}
.gh-dashboard5-mix .gh-dashboard5-chart.narrow {
/* margin-left: -80px; */
padding-left: 30%;
@ -1939,6 +1943,10 @@ Dashboard v5 Tooltips */
padding: 0;
}
.gh-dashboard5-mix .gh-dashboard5-metric {
margin-top: 0;
}
.gh-dashboard5-minichart .gh-dashboard5-select {
top: 4px;
}