forked from lavender/watch-party
smol fixes (fix unsupported ZWJ emojis and italic text cutoff)
parent
74f5ef76fd
commit
b3d2e7c568
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -292,6 +292,7 @@ button.small-button {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.emoji-option.selected {
|
||||
|
|
Loading…
Reference in New Issue