소스 검색

HUE-7931 [dashboard] Restrict resizing to horizontal only

Romain Rigaux 7 년 전
부모
커밋
13a2d60
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

@@ -3766,6 +3766,7 @@ $(document).ready(function () {
     max_cols: 12,
     max_rows: 6000,
     resize: {
+      axes: ['x'],
       enabled: true,
       start: function (event, ui, $widget) {
         $widget.find('.card-widget').css('opacity', '.6');