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

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) { if (user != null) {
const userName = document.createElement("strong"); const userName = document.createElement("strong");
userName.style = `--user-color: #${colour}`; userName.style = `--user-color: #${colour}`;
userName.textContent = user; userName.textContent = user + " ";
chatMessage.appendChild(userName); chatMessage.appendChild(userName);
} }
chatMessage.appendChild(document.createTextNode(" "));
if (content != null) { if (content != null) {
chatMessage.appendChild(content); chatMessage.appendChild(content);
} }

View File

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