[DE PE SSE] Fix bug 59088
This commit is contained in:
parent
661825ace9
commit
32c754c9fe
|
@ -351,10 +351,11 @@ define([
|
||||||
getCaptionWithBreaks: function (caption) {
|
getCaptionWithBreaks: function (caption) {
|
||||||
var words = caption.split(' '),
|
var words = caption.split(' '),
|
||||||
newCaption = null,
|
newCaption = null,
|
||||||
maxWidth = 85 - 4;
|
maxWidth = 160 - 4;//85 - 4;
|
||||||
if (words.length > 1) {
|
if (words.length > 1) {
|
||||||
maxWidth = !!this.menu || this.split === true ? maxWidth - 10 : maxWidth;
|
maxWidth = !!this.menu || this.split === true ? maxWidth - 10 : maxWidth;
|
||||||
if (words.length < 3) {
|
if (words.length < 3) {
|
||||||
|
words[0] = getShortText(words[0], !!this.menu ? maxWidth + 10 : maxWidth);
|
||||||
words[1] = getShortText(words[1], maxWidth);
|
words[1] = getShortText(words[1], maxWidth);
|
||||||
newCaption = words[0] + '<br>' + words[1];
|
newCaption = words[0] + '<br>' + words[1];
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -239,7 +239,7 @@
|
||||||
height: 24px;
|
height: 24px;
|
||||||
|
|
||||||
.caption {
|
.caption {
|
||||||
max-width: 85px;
|
max-width: 160px;//85px;
|
||||||
max-height: 24px;
|
max-height: 24px;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue