浏览代码

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');