TablePanel: Makes footer not overlap table content (#44210)

This commit is contained in:
Dominik Prokop
2022-01-20 00:37:49 -08:00
committed by GitHub
parent 46caa1af66
commit 9f0889c402
4 changed files with 42 additions and 24 deletions

View File

@@ -126,7 +126,7 @@ export class TablePanel extends Component<Props> {
return (
<div className={tableStyles.wrapper}>
{this.renderTable(data.series[currentIndex], width, height - inputHeight - padding)}
{this.renderTable(data.series[currentIndex], width, height - inputHeight + padding)}
<div className={tableStyles.selectWrapper}>
<Select
menuShouldPortal
@@ -139,7 +139,7 @@ export class TablePanel extends Component<Props> {
);
}
return this.renderTable(data.series[0], width, height - 12);
return this.renderTable(data.series[0], width, height);
}
}