Bladeren bron

HUE-9013 [editor] Show result settings to the left of the grid and chart in notebook 2

Johan Ahlen 6 jaren geleden
bovenliggende
commit
ec81841bf5

File diff suppressed because it is too large
+ 0 - 0
desktop/libs/notebook/src/notebook/static/notebook/css/notebook2.css


+ 14 - 0
desktop/libs/notebook/src/notebook/static/notebook/less/notebook2.less

@@ -248,6 +248,20 @@
     margin-top: 10px !important;
   }
 
+  .result-left-bar {
+    position:absolute;
+    display:inline-block;
+    height:auto;
+    left:0;
+    top:0;
+    bottom:0;
+    width: 35px;
+  }
+
+  .result-body {
+    margin-left: 35px;
+  }
+
   .result-settings {
     .nav-list .nav-header {
       margin-bottom: -3px;

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

@@ -1311,7 +1311,7 @@
 
   <script type="text/html" id="snippet-results${ suffix }">
     <div class="snippet-row" data-bind="slideVisible: result.hasSomeResults">
-      <div class="snippet-left-bar">
+      <div class="result-left-bar">
         <!-- ko template: { if: result.type() == 'table' && result.hasSomeResults(), name: 'snippet-result-controls${ suffix }' }--><!-- /ko -->
       </div>
       <div class="result-body">

Some files were not shown because too many files changed in this diff