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

HUE-8248 [dashboard] Automatically expand widgets to show all their content

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

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

@@ -4191,6 +4191,7 @@ $(document).ready(function () {
 
   function equalizeWidgetsHeights() {
     if (searchViewModel.isGridster() && !isDraggingOrResizingWidgets) {
+      huePubSub.publish('gridster.remove.scrollbars');
       // widgets on the same row should have the same height
       var touched = [];
       searchViewModel.gridItems().forEach(function (existingWidget) {