trying some stuff

This commit is contained in:
HF 2022-08-14 00:44:02 +02:00
parent fec22a7156
commit 79643a6605
2 changed files with 8 additions and 5 deletions

View File

@ -45,7 +45,7 @@ function ChatMessage({
<div className="msgcont">
<span className={className}>
{(!isInfo && !isEvent) && (
<span className="chatname" key="name">
<span key="name">
<img
alt=""
title={country}
@ -55,8 +55,8 @@ function ChatMessage({
e.target.src = './cf/xx.gif';
}}
/>
&nbsp;
<span
className="chatname"
style={{
color: setBrightness(colorFromText(name), isDarkMode),
cursor: 'pointer',
@ -76,7 +76,8 @@ function ChatMessage({
}}
>
{name}
</span>:
</span>
{': '}
</span>
)}
<MarkdownParagraph refEmbed={refEmbed} pArray={pArray} />

View File

@ -683,9 +683,11 @@ tr:nth-child(even) {
display: flex;
}
.chatname {
font-size: 13px;
white-space: nowrap;
padding-right: 4px;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
max-width: 100px;
}
.chatts {
color: #83839f;