diff --git a/ui/src/dashboards/components/dashboard_index/DashboardCards.tsx b/ui/src/dashboards/components/dashboard_index/DashboardCards.tsx index 8444643b982..148de15864d 100644 --- a/ui/src/dashboards/components/dashboard_index/DashboardCards.tsx +++ b/ui/src/dashboards/components/dashboard_index/DashboardCards.tsx @@ -111,7 +111,7 @@ export default class DashboardCards extends PureComponent { const frame = this._frame.getBoundingClientRect() const win = this._window.getBoundingClientRect() - if (frame.height == win.height) { + if (frame.height <= win.height) { this.setState( { windowSize: this.state.windowSize + 1,