Browse Source

[editor] Fix explain panel scrolling in editor v2

Johan Ahlen 4 năm trước cách đây
mục cha
commit
fc101bb221
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      desktop/libs/notebook/src/notebook/templates/editor2.mako

+ 3 - 1
desktop/libs/notebook/src/notebook/templates/editor2.mako

@@ -1047,7 +1047,9 @@
         <!-- ko if: explanation -->
         <div class="tab-pane" id="queryExplain" data-bind="css: {'active': currentQueryTab() == 'queryExplain'}">
           <div class="editor-bottom-tab-panel">
-            <pre class="no-margin-bottom" data-bind="text: explanation"></pre>
+            <div style="width: 100%; height: 100%; overflow-y: auto;">
+              <pre class="no-margin-bottom" data-bind="text: explanation"></pre>
+            </div>
           </div>
         </div>
         <!-- /ko -->