瀏覽代碼

HUE-5319 [editor] The close expanded mode overlaps with the snippet help icon

Enrico Berti 9 年之前
父節點
當前提交
8cc088cfb6
共有 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

@@ -1457,7 +1457,7 @@ ${ hueIcons.symbols() }
 </script>
 
 <script type="text/html" id="editor-snippet-header">
-  <div class="hover-actions inline pull-right" style="font-size: 15px; position: relative;">
+  <div class="hover-actions inline pull-right" style="font-size: 15px; position: relative;" data-bind="style: { 'marginRight': $root.editorMode() && !$root.isFullscreenMode() && $root.isPlayerMode() ? '40px' : '0' }">
     <!-- ko template: { name: 'longer-operation' } --><!-- /ko -->
     <span class="execution-timer" data-bind="visible: type() != 'text' && status() != 'ready' && status() != 'loading', text: result.executionTime().toHHMMSS()" title="${ _('Execution time') }"></span>
     <!-- ko if: availableDatabases().length > 0 && isSqlDialect() -->