diff --git a/src/base/layer/layer.popover.js b/src/base/layer/layer.popover.js index 8de34fe250..2132d35a0e 100644 --- a/src/base/layer/layer.popover.js +++ b/src/base/layer/layer.popover.js @@ -99,7 +99,7 @@ BI.Popover = BI.inherit(BI.Widget, { self.body = this; }, css: { - "max-height": c.MAX_HEIGHT - o.headerHeight - (o.footer ? o.footerHeight : 0) - c.BODY_TGAP - 2, + "max-height": c.MAX_HEIGHT - o.headerHeight - (o.footer ? o.footerHeight : 0) - c.BODY_TGAP, "min-height": size.height, }, items: [{ @@ -146,7 +146,7 @@ BI.Popover = BI.inherit(BI.Widget, { scrolly: false, } : { type: "bi.vtape", - height: size.height - 2, + height: size.height, }); },