Kaynağa Gözat

grid: fixed grid width issues

Torkel Ödegaard 8 yıl önce
ebeveyn
işleme
0c31d23086

+ 3 - 3
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
           }
         }

+ 1 - 1
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',
       });
     }