From 447d88860052a362f2d2222b81fc4922d349fc2b Mon Sep 17 00:00:00 2001 From: Tangjinxia <1119518763@qq.com> Date: Thu, 17 Sep 2020 20:33:23 +0800 Subject: [PATCH] =?UTF-8?q?BI-73034=20fix:=E7=BB=93=E6=9E=9C=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E8=AE=BE=E7=BD=AE=E5=BE=88=E5=A4=9A=E4=B8=AA=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E6=9D=A1=E4=BB=B6=EF=BC=8C=E7=A1=AE=E5=AE=9A=E5=92=8C?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=8C=89=E9=92=AE=E4=BC=9A=E8=A2=AB=E9=81=AE?= =?UTF-8?q?=E6=8C=A1=E6=97=A0=E6=B3=95=E7=82=B9=E5=87=BB=20(=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E6=9C=80=E5=A4=A7=E9=AB=98=E5=BA=A6=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E7=9A=84600=EF=BC=8C=E4=BD=86=E6=98=AF=E8=BF=99=E4=B8=AA600?= =?UTF-8?q?=E5=AE=9E=E9=99=85=E8=AE=BE=E7=BD=AE=E5=9C=A8=E5=86=85=E9=83=A8?= =?UTF-8?q?=E7=9A=84=E6=9D=A1=E4=BB=B6=E8=AE=BE=E7=BD=AE=E5=8C=BA=E5=9F=9F?= =?UTF-8?q?=EF=BC=8C=E5=BC=B9=E7=AA=97=E9=AB=98=E5=BA=A6=E5=8F=AF=E5=8F=98?= =?UTF-8?q?=E6=98=AF=E6=A0=B9=E6=8D=AE=E5=86=85=E9=83=A8=E5=8C=BA=E5=9F=9F?= =?UTF-8?q?=E6=94=B9=E5=8F=98=E7=9A=84=EF=BC=8C=E6=89=80=E4=BB=A5=E9=99=8D?= =?UTF-8?q?=E4=BD=8E=E5=86=85=E9=83=A8=E6=9C=80=E5=A4=A7=E9=AB=98=E5=BA=A6?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/layer/layer.popover.js | 2 +- src/less/base/layer/layer.popover.less | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/base/layer/layer.popover.js b/src/base/layer/layer.popover.js index d20167539..360d5c593 100644 --- a/src/base/layer/layer.popover.js +++ b/src/base/layer/layer.popover.js @@ -17,7 +17,7 @@ BI.Popover = BI.inherit(BI.Widget, { size: "normal", // small, normal, big logic: { dynamic: false, - maxHeight: 600, + maxHeight: 500, }, header: null, headerHeight: 40, diff --git a/src/less/base/layer/layer.popover.less b/src/less/base/layer/layer.popover.less index 6d038aeb4..7d9bb68f8 100644 --- a/src/less/base/layer/layer.popover.less +++ b/src/less/base/layer/layer.popover.less @@ -1,13 +1,14 @@ -@maxHeight: 600px; +@maxHeight: 500px; .bi-popover { + .dynamic-height-limit-layout-small { min-height: 200px; max-height: @maxHeight; } .dynamic-height-limit-layout-big, .dynamic-height-limit-layout-default { - min-height: 500px; + min-height: 400px; max-height: @maxHeight; } }