A platform for community discussion. Free, open, simple.
Resizing dashboard should not break graphs
Sam0b14e6b55611
diff --git a/app/assets/javascripts/admin/components/dashboard-mini-chart.js.es6 b/app/assets/javascripts/admin/components/dashboard-mini-chart.js.es6index f95738df61e..0ac44e2bbbd 100644--- a/app/assets/javascripts/admin/components/dashboard-mini-chart.js.es6+++ b/app/assets/javascripts/admin/components/dashboard-mini-chart.js.es6@@ -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,diff --git a/app/assets/stylesheets/common/admin/dashboard_next.scss b/app/assets/stylesheets/common/admin/dashboard_next.scssindex 0c3186087a2..71cb1ec3055 100644--- a/app/assets/stylesheets/common/admin/dashboard_next.scss+++ b/app/assets/stylesheets/common/admin/dashboard_next.scss@@ -216,6 +216,7 @@flex-direction: column;justify-content: space-between;flex: 1;+ width: 100%;}@include small-width {