smol fixes (fix unsupported ZWJ emojis and italic text cutoff)

remotes/1694359591236046747/main
easrng 2022-02-16 10:51:59 -05:00
parent 74f5ef76fd
commit b3d2e7c568
2 changed files with 2 additions and 3 deletions

View File

@ -273,12 +273,10 @@ const printChatMessage = (eventType, user, colour, content) => {
if (user != null) {
const userName = document.createElement("strong");
userName.style = `--user-color: #${colour}`;
userName.textContent = user;
userName.textContent = user + " ";
chatMessage.appendChild(userName);
}
chatMessage.appendChild(document.createTextNode(" "));
if (content != null) {
chatMessage.appendChild(content);
}

View File

@ -292,6 +292,7 @@ button.small-button {
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.emoji-option.selected {