Przeglądaj źródła

fix text panel rows limit (#10246)

Mitsuhiro Tanda 8 lat temu
rodzic
commit
3cb841f3db
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      public/app/plugins/panel/text/editor.html

+ 1 - 1
public/app/plugins/panel/text/editor.html

@@ -17,7 +17,7 @@
 
 <div class="gf-form-inline">
 	<div class="gf-form gf-form--grow">
-		<code-editor content="ctrl.panel.content" rows="20" on-change="ctrl.render()" data-mode="markdown" code-editor-focus="true">
+		<code-editor content="ctrl.panel.content" on-change="ctrl.render()" data-mode="markdown" data-max-lines=20 code-editor-focus="true">
 		</code-editor>
 	</div>
 </div>