Skip to content

Commit

Permalink
Fixed CSS syntax for background linear-gradient (apache#2482)
Browse files Browse the repository at this point in the history
  • Loading branch information
songyanho authored and mistercrunch committed Mar 27, 2017
1 parent 121b1d0 commit 26662ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/assets/visualizations/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function tableVis(slice, payload) {
const perc = Math.round((d.val / maxes[d.col]) * 100);
return (
`linear-gradient(to right, lightgrey, lightgrey ${perc}%, ` +
`rgba(0,0,0,0) ${perc}%`
`rgba(0,0,0,0) ${perc}%)`
);
}
return null;
Expand Down

0 comments on commit 26662ee

Please sign in to comment.