Browse Source

BI-73034 fix:结果过滤设置很多个过滤条件,确定和取消按钮会被遮挡无法点击

(弹窗最大高度设置的600,但是这个600实际设置在内部的条件设置区域,弹窗高度可变是根据内部区域改变的,所以降低内部最大高度)
es6
Tangjinxia 4 years ago
parent
commit
447d888600
  1. 2
      src/base/layer/layer.popover.js
  2. 5
      src/less/base/layer/layer.popover.less

2
src/base/layer/layer.popover.js

@ -17,7 +17,7 @@ BI.Popover = BI.inherit(BI.Widget, {
size: "normal", // small, normal, big
logic: {
dynamic: false,
maxHeight: 600,
maxHeight: 500,
},
header: null,
headerHeight: 40,

5
src/less/base/layer/layer.popover.less

@ -1,13 +1,14 @@
@maxHeight: 600px;
@maxHeight: 500px;
.bi-popover {
.dynamic-height-limit-layout-small {
min-height: 200px;
max-height: @maxHeight;
}
.dynamic-height-limit-layout-big, .dynamic-height-limit-layout-default {
min-height: 500px;
min-height: 400px;
max-height: @maxHeight;
}
}

Loading…
Cancel
Save