From d5a57193ce769727b3f1a09f73ce1b79dfcd80b2 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 27 Aug 2020 21:19:26 +0800 Subject: [PATCH] bugfix --- src/core/wrapper/layout/adapt/adapt.table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/wrapper/layout/adapt/adapt.table.js b/src/core/wrapper/layout/adapt/adapt.table.js index 528432bb5..bd11355af 100644 --- a/src/core/wrapper/layout/adapt/adapt.table.js +++ b/src/core/wrapper/layout/adapt/adapt.table.js @@ -25,7 +25,7 @@ BI.TableAdaptLayout = BI.inherit(BI.Layout, { this.$table = BI.Widget._renderEngine.createElement("
").css({ position: "relative", display: "table", - width: (o.horizontalAlign === BI.HorizontalAlign.Center || BI.HorizontalAlign.Stretch) ? "100%" : "auto", + width: (o.horizontalAlign === BI.HorizontalAlign.Center || o.horizontalAlign === BI.HorizontalAlign.Stretch) ? "100%" : "auto", height: (o.verticalAlign === BI.VerticalAlign.Middle || o.verticalAlign === BI.VerticalAlign.Stretch) ? "100%" : "auto", "white-space": "nowrap" });