Просмотр исходного кода

HUE-8444 [report] Dragging on an empty dashboard should use the whole available width

Enrico Berti 7 лет назад
Родитель
Сommit
9951fcb652
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      desktop/libs/dashboard/src/dashboard/templates/common_search.mako

+ 1 - 1
desktop/libs/dashboard/src/dashboard/templates/common_search.mako

@@ -4227,7 +4227,7 @@ $(document).ready(function () {
 
   function addPreviewHolder() {
     if (!$('.hue-preview-holder').length && searchViewModel.columns().length > 0) {
-      $('<li>').addClass('preview-holder hue-preview-holder').attr('data-sizex', '6').attr('data-sizey', '2').attr('data-row', '1').attr('data-col', '1').appendTo($('.gridster>ul'));
+      $('<li>').addClass('preview-holder hue-preview-holder').attr('data-sizex', '12').attr('data-sizey', '2').attr('data-row', '1').attr('data-col', '1').appendTo($('.gridster>ul'));
     }
   }