From 0c31d2308687598d62376bc14fa86b2153ac7319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 13 Oct 2017 15:11:05 +0200 Subject: [PATCH] grid: fixed grid width issues --- public/app/core/services/backend_srv.ts | 6 +++--- public/app/features/dashboard/dashnav/dashnav.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/app/core/services/backend_srv.ts b/public/app/core/services/backend_srv.ts index 1e351054b6d..e80e1b5c357 100644 --- a/public/app/core/services/backend_srv.ts +++ b/public/app/core/services/backend_srv.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 } } diff --git a/public/app/features/dashboard/dashnav/dashnav.ts b/public/app/features/dashboard/dashnav/dashnav.ts index 07b6dde3f0f..89d961c55d1 100644 --- a/public/app/features/dashboard/dashnav/dashnav.ts +++ b/public/app/features/dashboard/dashnav/dashnav.ts @@ -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', }); }