add title to name and change max-width

This commit is contained in:
HF 2022-08-14 01:37:54 +02:00
parent 2f2a446c15
commit 9788704a06
2 changed files with 4 additions and 3 deletions

View File

@ -63,6 +63,7 @@ function ChatMessage({
cursor: 'pointer', cursor: 'pointer',
}} }}
role="button" role="button"
title={name}
tabIndex={-1} tabIndex={-1}
onClick={(event) => { onClick={(event) => {
const { const {

View File

@ -690,7 +690,7 @@ tr:nth-child(even) {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
display: inline-block; display: inline-block;
max-width: 80px; max-width: 95px;
vertical-align: middle; vertical-align: middle;
overflow: hidden; overflow: hidden;
} }
@ -698,7 +698,7 @@ tr:nth-child(even) {
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
display: inline-block; display: inline-block;
max-width: 90px; max-width: 85px;
vertical-align: middle; vertical-align: middle;
overflow: hidden; overflow: hidden;
} }
@ -711,7 +711,7 @@ tr:nth-child(even) {
.chatmsg { .chatmsg {
font-size: 13px; font-size: 13px;
user-select: text; user-select: text;
padding: 2px 0 2px 2px; padding: 3px 0 3px 2px;
} }
.chatmsg:hover { .chatmsg:hover {
background-color: #dadada; background-color: #dadada;