Commit dd4a5b14 authored by Simon Knox's avatar Simon Knox

fix height of full-width Metrics charts

trigger layout update after first draw(), as they are first rendered at
450px width (from CSS), then update to 100% once they have paths added
parent bb7d914d
...@@ -147,6 +147,7 @@ export default { ...@@ -147,6 +147,7 @@ export default {
} }
this.showEmptyState = false; this.showEmptyState = false;
}) })
.then(this.resize)
.catch(() => { .catch(() => {
this.state = 'unableToConnect'; this.state = 'unableToConnect';
}); });
......
---
title: fix height of full-width Metrics charts on large screens
merge_request: 20866
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment