Browse Source

Pull request #1948: 无JIRA任务 fix:自适应最小高度问题

Merge in VISUAL/fineui from ~FAY/fineui:master to master

* commit 'e90f8975cf4831a577cdf601d40d813613fb6566':
  无JIRA任务 fix:自适应最小高度问题
es6
fay 3 years ago
parent
commit
6e9c21377a
  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