Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
HAWKULAR-1019 : Fix sparkline chart when c3-danger class is applied
Browse files Browse the repository at this point in the history
The fill should only be applied to sparklineArea and not to sparklineLine
  • Loading branch information
ammendonca committed Feb 4, 2016
1 parent e34c899 commit bb05ea6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions console/src/main/scripts/plugins/metrics/less/metrics.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ body {
}

.c3-danger {
path {
path.sparklineArea {
stroke: @brand-danger;
fill: @brand-danger;
fill-opacity: .4;
fill-opacity: .2;
}
path.sparklineLine {
stroke: @brand-danger;
}
}

Expand Down Expand Up @@ -2946,4 +2949,4 @@ section {

.hk-tokens .row-cards-pf {
margin-top: @grid-gutter-width/2;
}
}

0 comments on commit bb05ea6

Please sign in to comment.