bug fix: no multiple lines in chat image banner title
This commit is contained in:
@@ -926,6 +926,7 @@ function addMessage(message_info, bReset)
|
||||
.append($('<span>', {'class':'banner_title'}).text(message_info.message.title))
|
||||
.addButton('close', 'Cacher les images', toggleImages, '', 'no_text no_bg');
|
||||
$Banner.css({'top':'calc('+Math.round(message_info.message.height / -2)+'px + 4px)'});
|
||||
$Banner.find('.banner_title').width(message_info.message.width - 31);
|
||||
$Msg.find('a').addClass('img_box').append($Banner);
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -806,11 +806,14 @@
|
||||
|
||||
#chat_messages p .banner .banner_title {
|
||||
color:$col_none;
|
||||
text-overflow: ellipsis;
|
||||
font-size: $size_vbig;
|
||||
line-height:25px;
|
||||
margin:0 0 0 6px;
|
||||
madding:0;
|
||||
padding:0;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#chat_messages p span.text a.img_box.hidden {
|
||||
|
||||
Reference in New Issue
Block a user