瀏覽代碼

HUE-3644 [editor] Menus from result legend can be hidden

Enrico Berti 9 年之前
父節點
當前提交
480ddc2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -1483,7 +1483,7 @@ ${ hueIcons.symbols() }
         <!-- /ko -->
       </div>
 
-      <div class="row-fluid table-results" data-bind="visible: result.type() == 'table'" style="display: none; max-height: 400px; min-height: 130px;">
+      <div class="row-fluid table-results" data-bind="visible: result.type() == 'table', style: {'min-height': $root.editorMode ? '230px' : '130px'}" style="display: none; max-height: 400px;">
         <div>
           <div data-bind="visible: isResultSettingsVisible, css:{'span2 result-settings': isResultSettingsVisible, 'hidden': ! isResultSettingsVisible()}" style="position:relative;padding-right:15px;white-space: nowrap;">
             <!-- ko template: { name: 'snippet-grid-settings', if: showGrid } --><!-- /ko -->