瀏覽代碼

decreased panel height in edit mode

Torkel Ödegaard 7 年之前
父節點
當前提交
d843044841
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/app/features/dashboard/dashgrid/PanelResizer.tsx

+ 1 - 1
public/app/features/dashboard/dashgrid/PanelResizer.tsx

@@ -15,7 +15,7 @@ interface State {
 }
 
 export class PanelResizer extends PureComponent<Props, State> {
-  initialHeight: number = Math.floor(document.documentElement.scrollHeight * 0.4);
+  initialHeight: number = Math.floor(document.documentElement.scrollHeight * 0.3);
   prevEditorHeight: number;
   throttledChangeHeight: (height: number) => void;
   throttledResizeDone: () => void;