mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Fixed CSS syntax for background linear-gradient (#2482)
This commit is contained in:
parent
121b1d0951
commit
26662eed9e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user