Browse Source

HUE-7188 [editor] The save dropdown should be under the horizontal scrollbar

Signed-off-by: Johan Ahlen <johan@johanahlen.com>
Enrico Berti 8 years ago
parent
commit
2946fb9ffd

+ 1 - 1
desktop/core/src/desktop/templates/common_notebook_ko_components.mako

@@ -178,7 +178,7 @@ except ImportError, e:
         <i class="fa fa-fw fa-spinner fa-spin"></i>
         <!-- /ko -->
       </a>
-      <ul class="dropdown-menu less-padding">
+      <ul class="dropdown-menu less-padding" style="z-index: 1040">
         <li>
           <a class="download" href="javascript:void(0)" data-bind="click: downloadCsv, event: { mouseover: function(){ window.onbeforeunload = null; }, mouseout: function() { window.onbeforeunload = $(window).data('beforeunload'); } }" title="${ _('Download first %s rows as CSV') % (hasattr(DOWNLOAD_ROW_LIMIT, 'get') and DOWNLOAD_ROW_LIMIT.get()) }">
             <i class="fa fa-fw fa-file-o"></i> ${ _('CSV') }

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

@@ -1409,7 +1409,7 @@ ${ sqlSyntaxDropdown.sqlSyntaxDropdown() }
         <!-- /ko -->
       </div>
 
-      <div class="row-fluid table-results" data-bind="visible: result.type() == 'table'" style="display: none; max-height: 400px; min-height: 260px;">
+      <div class="row-fluid table-results" data-bind="visible: result.type() == 'table'" style="display: none; max-height: 400px; min-height: 290px;">
         <div>
           <div class="column-side" data-bind="visible: isResultSettingsVisible, css:{'span3 result-settings': isResultSettingsVisible, 'hidden': ! isResultSettingsVisible()}" style="position:relative;white-space: nowrap;">
             <!-- ko template: { name: 'snippet-grid-settings${ suffix }', if: showGrid } --><!-- /ko -->