Resizing dashboard should not break graphs

This commit is contained in:
Sam 2018-05-17 10:25:10 +10:00
parent a9ebde5111
commit 0b14e6b556
2 changed files with 2 additions and 2 deletions

View File

@ -37,13 +37,11 @@ export default Ember.Component.extend(AsyncReport, {
didRender() {
this._super();
registerTooltip($(this.element).find("[data-tooltip]"));
},
willDestroyElement() {
this._super();
unregisterTooltip($(this.element).find("[data-tooltip]"));
},
@ -147,6 +145,7 @@ export default Ember.Component.extend(AsyncReport, {
display: false
},
responsive: true,
maintainAspectRatio: false,
layout: {
padding: {
left: 0,

View File

@ -216,6 +216,7 @@
flex-direction: column;
justify-content: space-between;
flex: 1;
width: 100%;
}
@include small-width {