aand more

This commit is contained in:
HF 2022-08-14 00:58:11 +02:00
parent 79643a6605
commit 2f2a446c15
2 changed files with 17 additions and 3 deletions

View File

@ -47,6 +47,7 @@ function ChatMessage({
{(!isInfo && !isEvent) && (
<span key="name">
<img
className="chatflag"
alt=""
title={country}
src={`${window.ssv.assetserver}/cf/${country}.gif`}

View File

@ -682,12 +682,25 @@ tr:nth-child(even) {
.chathead {
display: flex;
}
.chatflag {
vertical-align: middle;
}
.chatname {
padding-right: 4px;
padding-left: 4px;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
max-width: 100px;
max-width: 80px;
vertical-align: middle;
overflow: hidden;
}
.mention, .ping {
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
max-width: 90px;
vertical-align: middle;
overflow: hidden;
}
.chatts {
color: #83839f;
@ -698,7 +711,7 @@ tr:nth-child(even) {
.chatmsg {
font-size: 13px;
user-select: text;
padding: 7px 0 0 2px;
padding: 2px 0 2px 2px;
}
.chatmsg:hover {
background-color: #dadada;