Browse Source

Pull request #3481: 无JIRA fix: 国际组反馈, 多语言环境word-break问题

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit 'e2cc3c420ce2a71a57c21485eabede58c37acfce':
  无JIRA fix: 书写错误_isOverflowY判断
  无JIRA fix: 国际组反馈, 多语言环境word-break问题
research/test
Dailer-刘荣歆 2 years ago
parent
commit
5d39222f89
  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 scrollable = o.scrollable, scrolly = o.scrolly;
if (o.overflowX === false) {
if (o.overflowY === false) {
return false;
}
if (scrolly) {

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

@ -3,5 +3,8 @@
.bi-text {
.overflow-hidden();
.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