From afa22eec784e049713f136f2be33f598212ce4c1 Mon Sep 17 00:00:00 2001 From: Matt DeBoer Date: Mon, 30 Oct 2017 00:20:06 -0700 Subject: [PATCH] set correct height on pods pane --- pkg/ui/src/components/configuration-pane/PodsPane.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/ui/src/components/configuration-pane/PodsPane.js b/pkg/ui/src/components/configuration-pane/PodsPane.js index e0303e02..8d24defc 100644 --- a/pkg/ui/src/components/configuration-pane/PodsPane.js +++ b/pkg/ui/src/components/configuration-pane/PodsPane.js @@ -306,6 +306,7 @@ class PodsPane extends React.Component { shouldComponentUpdate = (nextProps, nextState) => { return nextProps.podsRevision !== this.props.podsRevision || nextState.actionsOpen !== this.state.actionsOpen + || nextProps.contentTop !== this.props.contentTop } render() { @@ -318,7 +319,7 @@ class PodsPane extends React.Component { className={'pods'} columns={this.columns} data={this.state.pods} - height={'calc(100vh - 419px)'} + height={`calc(100vh - ${props.contentTop + 89}px)`} multiSelectable={true} revision={`${props.resourceRevision}-${props.metricsRevision}`} onRowSelection={this.handleRowSelection}