Browse Source

Merge pull request #232872 in DEC/fineui from master to feature/x

* commit '5d39222f8931e5ef541da4238fb2c1341fbc79a6':
  无JIRA fix: 书写错误_isOverflowY判断
  无JIRA fix: 国际组反馈, 多语言环境word-break问题
master
superman 2 years ago
parent
commit
6ff3ec3e47
  1. 2
      src/base/collection/collection.js
  2. 7
      src/less/base/single/text.less

2
src/base/collection/collection.js

@ -300,7 +300,7 @@ BI.CollectionView = BI.inherit(BI.Widget, {
var o = this.options; var o = this.options;
// 兼容一下 // 兼容一下
var scrollable = o.scrollable, scrolly = o.scrolly; var scrollable = o.scrollable, scrolly = o.scrolly;
if (o.overflowX === false) { if (o.overflowY === false) {
return false; return false;
} }
if (scrolly) { if (scrolly) {

7
src/less/base/single/text.less

@ -3,5 +3,8 @@
.bi-text { .bi-text {
.overflow-hidden(); .overflow-hidden();
.box-sizing(border-box); .box-sizing(border-box);
word-break: break-all;
} // https://developer.mozilla.org/en-US/docs/Web/CSS/word-break 参考mdn最标准的规范. 不再接受任何质疑
word-break: normal;
overflow-wrap: anywhere;
}

Loading…
Cancel
Save