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) && ( {(!isInfo && !isEvent) && (
<span key="name"> <span key="name">
<img <img
className="chatflag"
alt="" alt=""
title={country} title={country}
src={`${window.ssv.assetserver}/cf/${country}.gif`} src={`${window.ssv.assetserver}/cf/${country}.gif`}

View File

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