mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 15:43:16 +08:00
Resizing dashboard should not break graphs
This commit is contained in:
parent
a9ebde5111
commit
0b14e6b556
|
@ -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,
|
||||
|
|
|
@ -216,6 +216,7 @@
|
|||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@include small-width {
|
||||
|
|
Loading…
Reference in New Issue
Block a user