Эх сурвалжийг харах

HUE-7120 [presentation] Set a minimum height for the editors

Enrico Berti 8 жил өмнө
parent
commit
7379fbf0c4

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

@@ -1108,7 +1108,7 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
           maxLines: $root.editorMode() ? null : 25,
           minLines: $root.editorMode() ? null : 3
         }
-      }, style: {opacity: statementType() !== 'text' ? '0.75' : '1', 'top': $root.editorMode() && statementType() !== 'text' ? '60px' : '0'}"></div>
+      }, style: {opacity: statementType() !== 'text' ? '0.75' : '1', 'min-height': $root.editorMode() ? '0' : '48px', 'top': $root.editorMode() && statementType() !== 'text' ? '60px' : '0'}"></div>
       % if conf.USE_NEW_AUTOCOMPLETER.get():
       <!-- ko component: { name: 'hueAceAutocompleter', params: { editor: ace, snippet: $data } } --><!-- /ko -->
       % endif