فهرست منبع

HUE-3726 [editor] On query error we hide the log icon of the snippet

Enrico Berti 9 سال پیش
والد
کامیت
c3aef09

+ 5 - 1
desktop/libs/notebook/src/notebook/static/notebook/css/notebook.css

@@ -520,7 +520,7 @@ body {
 }
 
 .logs {
-  padding: 3px;
+  padding: 9.5px;
   font-size: 11px;
   height: 80px;
   overflow-y: auto;
@@ -1038,4 +1038,8 @@ h4.header {
 .notebook-name-desc {
   overflow: hidden;
   text-overflow: ellipsis;
+}
+
+pre {
+  font-size: 11px;
 }

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

@@ -1185,7 +1185,7 @@ ${ hueIcons.symbols() }
       </ul>
     </div>
     <!-- /ko -->
-    <a class="inactive-action margin-left-10" href="javascript:void(0)" data-bind="visible: status() != 'ready' && status() != 'loading' && errors().length == 0, click: function() { hideFixedHeaders(); $data.showLogs(!$data.showLogs());}, css: {'blue': $data.showLogs}" title="${ _('Show Logs') }"><i class="fa fa-file-text-o"></i></a>
+    <a class="inactive-action margin-left-10" href="javascript:void(0)" data-bind="visible: status() != 'ready' && status() != 'loading', click: function() { hideFixedHeaders(); $data.showLogs(!$data.showLogs());}, css: {'blue': $data.showLogs}" title="${ _('Show Logs') }"><i class="fa fa-file-text-o"></i></a>
     <a class="inactive-action margin-left-10" href="javascript:void(0)" data-bind="toggle: settingsVisible, visible: hasProperties, css: { 'blue' : settingsVisible }" title="${ _('Settings and properties') }"><i class="fa fa-cog"></i></a>
     <a class="inactive-action margin-left-10" href="javascript:void(0)" title="${ _('Show editor shortcuts') }" data-toggle="modal" data-target="#helpModal"><i class="fa fa-question"></i></a>
   </div>