Browse Source

无JIRA任务 fix:自适应最小高度问题

es6
fay 3 years ago
parent
commit
e90f8975cf
  1. 2
      src/base/layer/layer.popover.js

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

@ -102,7 +102,7 @@ BI.Popover = BI.inherit(BI.Widget, {
},
css: {
"max-height": this._getSuitableBodyHeight(c.MAX_HEIGHT - o.headerHeight - (o.footer ? o.footerHeight : 0) - o.bodyTgap),
"min-height": this._getSuitableBodyHeight(size.height),
"min-height": this._getSuitableBodyHeight(size.height - o.headerHeight - (o.footer ? o.footerHeight : 0) - o.bodyTgap),
},
items: [{
el: o.body,

Loading…
Cancel
Save