Skip to content

Commit

Permalink
set correct height on pods pane
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-deboer committed Oct 30, 2017
1 parent aa201c0 commit afa22ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/ui/src/components/configuration-pane/PodsPane.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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}
Expand Down

0 comments on commit afa22ee

Please sign in to comment.