From 0bc35a7bd416b3e0806a3446394c70c7789bf21d Mon Sep 17 00:00:00 2001 From: zsmj Date: Fri, 7 Apr 2023 15:21:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=97=A0JIRA=20fix:=20=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E7=BB=84=E5=8F=8D=E9=A6=88,=20=E5=A4=9A=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E7=8E=AF=E5=A2=83word-break=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/less/base/single/text.less | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/less/base/single/text.less b/src/less/base/single/text.less index bd4aada73..14f567d72 100644 --- a/src/less/base/single/text.less +++ b/src/less/base/single/text.less @@ -3,5 +3,8 @@ .bi-text { .overflow-hidden(); .box-sizing(border-box); - word-break: break-all; -} \ No newline at end of file + + // https://developer.mozilla.org/en-US/docs/Web/CSS/word-break 参考mdn最标准的规范. 不再接受任何质疑 + word-break: normal; + overflow-wrap: anywhere; +} From 83dfdc8172d8ef92810ced716c1b241102a0c239 Mon Sep 17 00:00:00 2001 From: zsmj Date: Fri, 7 Apr 2023 15:22:02 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=97=A0JIRA=20fix:=20=E4=B9=A6=E5=86=99?= =?UTF-8?q?=E9=94=99=E8=AF=AF=5FisOverflowY=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/collection/collection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/collection/collection.js b/src/base/collection/collection.js index f45437627..a47a78ec3 100644 --- a/src/base/collection/collection.js +++ b/src/base/collection/collection.js @@ -300,7 +300,7 @@ BI.CollectionView = BI.inherit(BI.Widget, { var o = this.options; // 兼容一下 var scrollable = o.scrollable, scrolly = o.scrolly; - if (o.overflowX === false) { + if (o.overflowY === false) { return false; } if (scrolly) {