From 2aee44bc8d169c4766ecd0711456dbd397485974 Mon Sep 17 00:00:00 2001 From: iapyang Date: Tue, 22 Sep 2020 19:46:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AD=89=E5=8F=91=E5=B8=83=E5=90=8E?= =?UTF-8?q?=E5=86=8D=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/layer/layer.popover.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }); },