[DE PE SSE] Fix bug 59088

This commit is contained in:
JuliaSvinareva 2022-09-19 19:48:14 +03:00
parent 661825ace9
commit 32c754c9fe
2 changed files with 3 additions and 2 deletions

View file

@ -351,10 +351,11 @@ define([
getCaptionWithBreaks: function (caption) {
var words = caption.split(' '),
newCaption = null,
maxWidth = 85 - 4;
maxWidth = 160 - 4;//85 - 4;
if (words.length > 1) {
maxWidth = !!this.menu || this.split === true ? maxWidth - 10 : maxWidth;
if (words.length < 3) {
words[0] = getShortText(words[0], !!this.menu ? maxWidth + 10 : maxWidth);
words[1] = getShortText(words[1], maxWidth);
newCaption = words[0] + '<br>' + words[1];
} else {

View file

@ -239,7 +239,7 @@
height: 24px;
.caption {
max-width: 85px;
max-width: 160px;//85px;
max-height: 24px;
text-overflow: ellipsis;