소스 검색

grid: fixed grid width issues

Torkel Ödegaard 8 년 전
부모
커밋
0c31d23086
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 3
      public/app/core/services/backend_srv.ts
  2. 1 1
      public/app/features/dashboard/dashnav/dashnav.ts

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