mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Fix overflow in messages
This commit is contained in:
parent
038210cb94
commit
fce3786634
2 changed files with 9 additions and 2 deletions
|
@ -40,7 +40,7 @@
|
|||
alt="Фотография пользователя" />
|
||||
</div>
|
||||
<div class="crp-entry--message---text">
|
||||
{$lastMsg->getText()|truncate:60}
|
||||
{$lastMsg->getText()|noescape}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -791,6 +791,13 @@ table.User {
|
|||
vertical-align: top;
|
||||
}
|
||||
|
||||
.crp-entry--message---text {
|
||||
max-height: 45px;
|
||||
max-width: 260px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.crp-entry--message---text, .messenger-app--messages---message .time {
|
||||
color: #404036;
|
||||
}
|
||||
|
@ -828,7 +835,7 @@ table.User {
|
|||
width: 300px;
|
||||
}
|
||||
|
||||
.messenger-app--messages---message ._content span, .messenger-app--messages---message ._content a {
|
||||
.messenger-app--messages---message ._content span, .messenger-app--messages---message ._content > a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue