From 7d98c267d534ef6c4bbb092d211fc8a89a4adaba Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 11 May 2026 14:13:16 +0100 Subject: [PATCH] More formatting tweaks --- resources/views/reports/index.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/reports/index.blade.php b/resources/views/reports/index.blade.php index 5395a1bc9e..7aa30a037f 100755 --- a/resources/views/reports/index.blade.php +++ b/resources/views/reports/index.blade.php @@ -335,7 +335,7 @@ font-size: 70%; font-weight: normal; filter: brightness(95%); - + } /*[data-theme="dark"] .info-box { background: var(--box-bg); color: #d2d6de; }*/ @@ -406,7 +406,7 @@ function getLineOptions() { }, scales: { xAxes: [{ gridLines: { display: false }, ticks: { maxTicksLimit: 10, fontColor: fontColor } }], - yAxes: [{ gridLines: { color: gridColor }, ticks: { beginAtZero: true, precision: 0, fontColor: fontColor } }] + yAxes: [{ gridLines: { color: gridColor }, ticks: { beginAtZero: true, suggestedMin: 0, precision: 0, fontColor: fontColor } }] } }; } @@ -464,7 +464,7 @@ function trendPct(cur, prev) { function setInfoBar(id, pct, prevLabel) { $('#progress-' + id).css('width', pct + '%'); - $('#progress-' + id + '-label').text(pct + '% {!! trans('general.vs_prior_period') !!} (' + prevLabel + ')'); + $('#progress-' + id + '-label').text('- ' + pct + '% {!! trans('general.vs_prior_period') !!} (' + prevLabel + ')'); } var palette = {