forked from ppfun/pixelplanet
add title to name and change max-width
This commit is contained in:
parent
2f2a446c15
commit
9788704a06
|
@ -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 {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user