mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 12:18:02 +03:00
fix: username wrapping (#3975)
This commit is contained in:
parent
ed21911288
commit
8e89dfb345
2 changed files with 15 additions and 4 deletions
|
@ -1,16 +1,27 @@
|
|||
.root {
|
||||
display: inline-flex;
|
||||
padding: 10px 0;
|
||||
color: var(--theme-color-components-chat-text);
|
||||
font-weight: 400;
|
||||
font-size: var(--chat-message-text-size);
|
||||
|
||||
|
||||
.moderatorBadge,
|
||||
.user {
|
||||
margin-right: 5px;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.joinMessage {
|
||||
font-weight: 400;
|
||||
color: var(--theme-color-components-chat-text);
|
||||
font-size: var(--chat-message-text-size);
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
padding: 0 var(--chat-notification-icon-padding) 0 16px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 350px) {
|
||||
.icon {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,8 +35,8 @@ export const ChatJoinMessage: FC<ChatJoinMessageProps> = ({
|
|||
<ModerationBadge userColor={userColor} />
|
||||
</span>
|
||||
)}
|
||||
<span className={styles.joinMessage}>joined the chat.</span>
|
||||
</span>
|
||||
joined the chat.
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue