Skip to content

Commit

Permalink
Chat styling
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Oct 30, 2024
1 parent d48ceb7 commit 659d275
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tbot/web/ui/live_chat/components/chat.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ export function Chat({ channelId }) {
<div key={index} className="message">
{providerShort(msg.provider)}
<span className="username" style={{ color: msg.color }}>
{msg.user}:
</span>{" "}
<span className="text">{msg.message}</span>
{msg.user}
</span>
: <span className="text">{msg.message}</span>
</div>
))}
<div ref={messagesEndRef} />
Expand Down
2 changes: 1 addition & 1 deletion tbot/web/ui/live_chat/components/chat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@

.username {
font-weight: 700;
margin-right: 5px;
color: #ffa600;
}

.text {
margin-left: 0.25rem;
color: #ffffff;
word-wrap: break-word;
line-height: 1.4;
Expand Down

0 comments on commit 659d275

Please sign in to comment.