grid: fixed grid width issues

pull/9559/head
Torkel Ödegaard 8 years ago
parent 70005d3e37
commit 0c31d23086
  1. 6
      public/app/core/services/backend_srv.ts
  2. 2
      public/app/features/dashboard/dashnav/dashnav.ts

@ -256,7 +256,7 @@ export class BackendSrv {
gridPos: {
x: 0,
y: 0,
w: 4,
w: 8,
h: 10
}
},
@ -268,7 +268,7 @@ export class BackendSrv {
gridPos: {
x: 4,
y: 0,
w: 4,
w: 8,
h: 10
}
},
@ -280,7 +280,7 @@ export class BackendSrv {
gridPos: {
x: 8,
y: 0,
w: 4,
w: 8,
h: 10
}
}

@ -148,7 +148,7 @@ export class DashNavCtrl {
addPanel() {
this.dashboard.addPanel({
type: 'graph',
gridPos: {x: 0, y: 0, w: 6, h: 5},
gridPos: {x: 0, y: 0, w: 12, h: 7},
title: 'New Graph',
});
}

Loading…
Cancel
Save