Browse Source

HUE-6281 [editor] Avoid the query title and description to go to a new line

Enrico Berti 8 years ago
parent
commit
dce13db40f

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


+ 1 - 0
desktop/libs/notebook/src/notebook/static/notebook/less/notebook.less

@@ -1024,6 +1024,7 @@
   .notebook-name-desc {
     overflow: hidden;
     text-overflow: ellipsis;
+    white-space: nowrap;
   }
 
   .notebook-name-input {

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

@@ -3584,6 +3584,7 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_
 
       var _resizeTimeout = -1;
       $(window).on("resize", function () {
+        $('.notebook-name-desc').css('max-width', ($('.snippet-container').width()/4) + 'px');
         window.clearTimeout(_resizeTimeout);
         _resizeTimeout = window.setTimeout(function () {
           forceChartDraws();

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