Explorar o código

[editor] Fix explain panel scrolling in editor v2

Johan Ahlen %!s(int64=4) %!d(string=hai) anos
pai
achega
fc101bb221
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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 -->