Browse Source

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

master
fay 4 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: { css: {
"max-height": this._getSuitableBodyHeight(c.MAX_HEIGHT - o.headerHeight - (o.footer ? o.footerHeight : 0) - o.bodyTgap), "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: [{ items: [{
el: o.body, el: o.body,

Loading…
Cancel
Save