|
|
@@ -475,11 +475,11 @@ ${ require.config() }
|
|
|
</script>
|
|
|
|
|
|
<script type="text/html" id="snippet">
|
|
|
- <div data-bind="visibleOnHover: { override: inFocus, selector: '.hover-actions' }">
|
|
|
+ <div data-bind="visibleOnHover: { override: inFocus() || settingsVisible(), selector: '.hover-actions' }">
|
|
|
<div class="snippet-container row-fluid" data-bind="visibleOnHover: { override: $root.editorMode || inFocus, selector: '.snippet-actions' }">
|
|
|
<div class="snippet card card-widget" data-bind="css: {'notebook-snippet' : ! $root.editorMode, 'editor-mode': $root.editorMode, 'active-editor': inFocus, 'snippet-text' : type() == 'text'}, attr: {'id': 'snippet_' + id()}, clickForAceFocus: ace">
|
|
|
<div style="position: relative;">
|
|
|
- <div class="snippet-row">
|
|
|
+ <div class="snippet-row" style="position: relative;">
|
|
|
<div class="snippet-left-bar">
|
|
|
<!-- ko template: { if: ! $root.editorMode, name: 'notebook-snippet-type-controls' } --><!-- /ko -->
|
|
|
<!-- ko template: { if: ['text', 'markdown'].indexOf(type()) == -1, name: 'snippet-execution-controls' } --><!-- /ko -->
|
|
|
@@ -496,15 +496,15 @@ ${ require.config() }
|
|
|
<!-- ko template: { if: type() == 'markdown', name: 'markdown-snippet-body' } --><!-- /ko -->
|
|
|
<!-- ko template: { if: type() == 'jar' || type() == 'py', name: 'executable-snippet-body' } --><!-- /ko -->
|
|
|
</div>
|
|
|
+ <div style="position: absolute; top:25px; margin-left:35px; width: calc(100% - 35px)" data-bind="style: { 'z-index': 400 - $index() }">
|
|
|
+ <!-- ko template: 'snippet-settings' --><!-- /ko -->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<!-- ko template: { if: ['text', 'markdown'].indexOf(type()) == -1, name: 'snippet-execution-status' } --><!-- /ko -->
|
|
|
<!-- ko template: { if: $root.editorMode, name: 'snippet-code-resizer' } --><!-- /ko -->
|
|
|
<!-- ko template: 'snippet-log' --><!-- /ko -->
|
|
|
<!-- ko template: 'query-history' --><!-- /ko -->
|
|
|
<!-- ko template: { if: ['text', 'jar', 'py', 'markdown'].indexOf(type()) == -1, name: 'snippet-results' } --><!-- /ko -->
|
|
|
- <div style="position: absolute; top:0; z-index: 301; width: 100%;">
|
|
|
- <!-- ko template: 'snippet-settings' --><!-- /ko -->
|
|
|
- </div>
|
|
|
|
|
|
<div class="clearfix"></div>
|
|
|
</div>
|