trying some stuff
This commit is contained in:
parent
fec22a7156
commit
79643a6605
|
@ -45,7 +45,7 @@ function ChatMessage({
|
||||||
<div className="msgcont">
|
<div className="msgcont">
|
||||||
<span className={className}>
|
<span className={className}>
|
||||||
{(!isInfo && !isEvent) && (
|
{(!isInfo && !isEvent) && (
|
||||||
<span className="chatname" key="name">
|
<span key="name">
|
||||||
<img
|
<img
|
||||||
alt=""
|
alt=""
|
||||||
title={country}
|
title={country}
|
||||||
|
@ -55,8 +55,8 @@ function ChatMessage({
|
||||||
e.target.src = './cf/xx.gif';
|
e.target.src = './cf/xx.gif';
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
|
className="chatname"
|
||||||
style={{
|
style={{
|
||||||
color: setBrightness(colorFromText(name), isDarkMode),
|
color: setBrightness(colorFromText(name), isDarkMode),
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
|
@ -76,7 +76,8 @@ function ChatMessage({
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{name}
|
{name}
|
||||||
</span>:
|
</span>
|
||||||
|
{': '}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
<MarkdownParagraph refEmbed={refEmbed} pArray={pArray} />
|
<MarkdownParagraph refEmbed={refEmbed} pArray={pArray} />
|
||||||
|
|
|
@ -683,9 +683,11 @@ tr:nth-child(even) {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
.chatname {
|
.chatname {
|
||||||
font-size: 13px;
|
|
||||||
white-space: nowrap;
|
|
||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
display: inline-block;
|
||||||
|
max-width: 100px;
|
||||||
}
|
}
|
||||||
.chatts {
|
.chatts {
|
||||||
color: #83839f;
|
color: #83839f;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user