Skip to content

Commit 7c4d7f4

Browse files
froozeifytrasher
authored andcommitted
fix: chart multiple number gradiant color not applied correctly
1 parent ba664d4 commit 7c4d7f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Dashboard/Widget.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,12 +444,12 @@ public static function multipleNumber(array $params = []): string
444444
$color = Toolbox::getFgColor($bgcolor);
445445

446446
$palette_style .= "
447-
#chart-{$p['rand']} .line-$letter {
447+
#chart-{$p['rand']} .line-$index {
448448
background-color: $bgcolor;
449449
color: $color;
450450
}
451451
452-
#chart-{$p['rand']} .line-$letter:hover {
452+
#chart-{$p['rand']} .line-$index:hover {
453453
background-color: $bgcolor_h;
454454
font-weight: bold;
455455
}

0 commit comments

Comments
 (0)