mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
[vis] fix pivot table scrolling when using more than 1 groupy col (#2674)
* fix scrolling when more than 1 groupby * generalize function arguments * fix pivot table scrolling in js * add padding rules back * linting
This commit is contained in:
@@ -81,11 +81,8 @@ class ChartContainer extends React.PureComponent {
|
||||
// this should be a callback to clear the contents of the slice container
|
||||
$(this.state.selector).html(data);
|
||||
},
|
||||
css: (dim, size) => {
|
||||
// dimension can be 'height'
|
||||
// pixel string can be '300px'
|
||||
// should call callback to adjust height of chart
|
||||
$(this.state.selector).css(dim, size);
|
||||
css: (property, value) => {
|
||||
$(this.state.selector).css(property, value);
|
||||
},
|
||||
height: getHeight,
|
||||
show: () => { },
|
||||
|
||||
Reference in New Issue
Block a user