forked from lavender/watch-party
		
	smol fixes (fix unsupported ZWJ emojis and italic text cutoff)
This commit is contained in:
		
							parent
							
								
									74f5ef76fd
								
							
						
					
					
						commit
						b3d2e7c568
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		|  | @ -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); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  | @ -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 { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue